diff --git a/download_apkmirror.sh b/download_apkmirror.sh index 663c850..9fd3e7a 100755 --- a/download_apkmirror.sh +++ b/download_apkmirror.sh @@ -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