Extra run conditions

This commit is contained in:
Sayantan Santra 2022-10-13 01:36:54 -05:00
parent 42039f26ab
commit 4dd9d6b6c9

View file

@ -112,6 +112,8 @@ for artifact in $artifacts; do
fi
done
[[ ! -f com.google.android.youtube.apk || ! -f com.google.android.apps.youtube.music.apk ]] && flag=true
# Exit if no updates happened
if [[ $flag == false && "$2" != "force" ]]; then
echo "Nothing to update" | tee -a build.log