Force decimal version numbers in install script (#1088)
Co-authored-by: Alex Chen <Cnly@users.noreply.github.com>
This commit is contained in:
parent
e99a3ca7d7
commit
340b18dcf6
1 changed files with 1 additions and 1 deletions
2
install
2
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue