mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 12:48:36 -06:00
Fixed version selection
This commit is contained in:
parent
42fe517ce4
commit
1e03470734
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ for apk in "${!apks[@]}"; do
|
|||
version=0
|
||||
for vers in $supported_vers; do
|
||||
if [ $vers != "null" ]; then
|
||||
if [[ ${vers//[!0-9]/} -gt ${version//[!0-9]/} ]]; then
|
||||
if [[ $vers==0 || ${vers//[!0-9]/} -lt ${version//[!0-9]/} ]]; then
|
||||
version=$vers
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue