Skip to content
Snippets Groups Projects
Commit 3856fff4 authored by Adrian Schmutzler's avatar Adrian Schmutzler
Browse files

fff-sysupgrade: Fix comparison for version in sysupgrade.sh


The previous version seemed to work only for numeric data.

Fixes #113

Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: default avatarFabian Bläse <fabian@blaese.de>
parent dc4746ea
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ VERSION=$(awk -F: '/VERSION:/ { print $2 }' release.nfo)
rm -f release.nfo
echo "Firmware found on server: $VERSION"
if [ "$VERSION" -eq "$FIRMWARE_VERSION" ]; then
if [ "$VERSION" = "$FIRMWARE_VERSION" ]; then
echo "The installed firmware version is already the current version."
echo ""
......
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