From 340b18dcf624528380af4a2bf2093bed555063ec Mon Sep 17 00:00:00 2001 From: Grazfather Date: Sat, 4 Dec 2021 09:54:41 -0500 Subject: [PATCH] Force decimal version numbers in install script (#1088) Co-authored-by: Alex Chen --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index e21e5a11..d44505d9 100755 --- a/install +++ b/install @@ -91,7 +91,7 @@ esac IFS='.' read -ra VER <<< "$version" vernum=$(printf "%03d%03d%03d" "${VER[0]}" "${VER[1]}" "${VER[2]}") -if [[ $vernum -le 000002013 ]]; then +if [[ 10#$vernum -le 10#000002013 ]]; then ext="zip" util="$(which unzip) -qqo" else