mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 12:48:36 -06:00
fix: Need exact version
This commit is contained in:
parent
4f8781aa98
commit
6df146dd82
1 changed files with 1 additions and 1 deletions
|
@ -156,5 +156,5 @@ for apk in "${!apks[@]}"; do
|
||||||
[[ -z "$version_present" || "$version" == "null" ]] && version_present=0
|
[[ -z "$version_present" || "$version" == "null" ]] && version_present=0
|
||||||
[[ "$version" == "0" ]] && version=latest
|
[[ "$version" == "0" ]] && version=latest
|
||||||
|
|
||||||
[[ $(ver_less_than $version_present $version) == true || ! -f $apk.apk || $2 == force ]] && ${apks[$apk]} || echo "Recommended version ($version_present) of "$apk" is already present"
|
[[ "$version_present" != "$version" || ! -f $apk.apk || $2 == force ]] && ${apks[$apk]} || echo "Recommended version ($version_present) of "$apk" is already present"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue