Dont send container image updates to post

This commit is contained in:
Heavybullets8 2022-09-04 16:56:24 -06:00
parent 7b67b8871b
commit b49c21bee8

View File

@ -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