Print the recommended versions for apks

This commit is contained in:
Sayantan Santra 2022-10-20 22:37:45 -05:00
parent 7d9e1eaa40
commit 1ae17772b8

View file

@ -113,5 +113,5 @@ for apk in "${!apks[@]}"; do
[ $vers != "null" ] && [[ $(ver_less_than $vers $version) == true || $version == 0 ]] && version=$vers
done
version_present=$(jq -r ".\"$apk\"" versions.json)
[[ $(ver_less_than $version_present $version) == true || ! -f $apk.apk || $2 == force ]] && ${apks[$apk]} || echo "Recommended version of "$apk" is already present" | tee -a build.log
[[ $(ver_less_than $version_present $version) == true || ! -f $apk.apk || $2 == force ]] && ${apks[$apk]} || echo "Recommended version ($version_present) of "$apk" is already present" | tee -a build.log
done