diff --git a/src/gam-install.sh b/src/gam-install.sh index 9af89f51..fb483f4e 100755 --- a/src/gam-install.sh +++ b/src/gam-install.sh @@ -88,7 +88,7 @@ echo "" | sort -V > /dev/null 2>&1 vsort_failed=$? if [ "${1}" = "${2}" ]; then true -elif $vsort_failed; then +elif (( $vsort_failed != 0 )); then false else test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"