From 1ae17772b8c8cdf5b631a1a1ae5181d665ce8117 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Thu, 20 Oct 2022 22:37:45 -0500 Subject: [PATCH] Print the recommended versions for apks --- download_apkmirror.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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