summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/opengnsys_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index 0ad98de6..99a51b96 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -205,7 +205,7 @@ function chooseVersion()
RELEASES+=( "$BRANCH" )
DOWNLOADS+=( "$API_URL" )
# Show selection menu, if needed.
- if [ ${#RELEASES} > 1 ]; then
+ if [ ${#RELEASES[@]} -gt 1 ]; then
echo "Installed version: $INSTVERSION $INSTRELEASE"
echo "Versions available for update (\"$BRANCH\" is the latest development branch):"
PS3="Enter a number: "