summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 aa981c0a..fb6891f0 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -197,7 +197,7 @@ function chooseVersion()
# Fetch tags (releases) data from GitHub.
while read -pe TAG URL; do
if [[ $TAG =~ ^opengnsys- ]]; then
- [ "${TAG#opengnsys-}" \< "${INSTVERSION%pre}" ] && continue
+ [ "${TAG#opengnsys-}" \< "${INSTVERSION%pre}" ] && break
RELDATE=$(curl -s "$URL" | jq -r '.commit.committer.date | split("-") | join("")[:8]')
RELEASES+=( "${TAG} ($RELDATE)" )
DOWNLOADS+=( "$URL" )