diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2018-12-13 12:43:15 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2018-12-13 12:43:15 +0100 |
commit | 9c2b75c1167053cc7c6459616e3d290a9ae95eb2 (patch) | |
tree | e44adbe78cce8b92c6ff4fb32e7235cebceed1ce /server/bin | |
parent | 2dd6a85a7b70261b4c44c58eb6e7f493ee2fe818 (diff) |
#840: Correct error in "oglivecli download" when detecting the new format in ogLive version.
Diffstat (limited to 'server/bin')
-rwxr-xr-x | server/bin/oglivecli | 2 |
1 files changed, 1 insertions, 1 deletions
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 |