From b49c21bee87adf2b9719aaada86605580933495b Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Sun, 4 Sep 2022 16:56:24 -0600 Subject: [PATCH] Dont send container image updates to post --- functions/update_apps.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index ce6a4476..6a62f9aa 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -112,7 +112,11 @@ fi # Send app through update function [[ "$verbose" == "true" ]] && echo_array+=("Updating..") if update_app ;then - echo_array+=("Updated\n$old_full_ver\n$new_full_ver") + if [[ $old_full_ver == "$new_full_ver" ]]; then + echo_array+=("Container Image Update") + else + echo_array+=("Updated\n$old_full_ver\n$new_full_ver") + fi else echo_array+=("Failed to update\nManual intervention may be required") echo_array @@ -123,6 +127,10 @@ fi if grep -qs "^$app_name,true" external_services ; then echo_array return +# If app is container image update, dont send for post processing +elif [[ $old_full_ver == "$new_full_ver" ]]; then + echo_array + return else post_process fi