From 9c2b75c1167053cc7c6459616e3d290a9ae95eb2 Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Thu, 13 Dec 2018 12:43:15 +0100 Subject: #840: Correct error in "oglivecli download" when detecting the new format in ogLive version. --- server/bin/oglivecli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/bin/oglivecli b/server/bin/oglivecli index 451c3c12..e6f8575b 100755 --- a/server/bin/oglivecli +++ b/server/bin/oglivecli @@ -268,7 +268,7 @@ function download() { echo "Available downloads (+ = installed, * = full compatibility):" for i in $(seq 1 $NISOS); do [ -e $DOWNLOADDIR/${OGLIVE[i-1]} ] && OGLIVE[i-1]="(+) ${OGLIVE[i-1]}" - ISOREL=${OGLIVE[i-1]##*-r}; ISOREL=${ISOREL%.*} + ISOREL=${OGLIVE[i-1]##*-r}; ISOREL=${ISOREL%%.*} [ $ISOREL -ge $MINREL ] && OGLIVE[i-1]="(*) ${OGLIVE[i-1]}" done select opt in "${OGLIVE[@]}"; do -- cgit v1.2.3-18-g5258