Skip to content
Snippets Groups Projects
Verified Commit a98d41b4 authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

fixup! switch-branch: prevent downgrades

parent 60d8994c
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !933. Comments created here will be created in the context of that merge request.
......@@ -120,6 +120,10 @@ fetch_target_version() (
"Turris Mox")
board="mox"
;;
*)
echo "Unknown device model: '$OPENWRT_DEVICE_PRODUCT'" >&2
return 2
;;
esac
curl "https://repo.turris.cz/$1/$board/lists/turris-version"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment