From a6213a65e3c0f05291c2becd8a93ea482592cbee Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 8 Sep 2022 17:26:23 -0600 Subject: [PATCH] fix container updates always marked as true --- functions/update_apps.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 40dbdee3..7bb79888 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -21,6 +21,8 @@ do new_chart_ver=$(echo "$app" | awk -F ',' '{print $5}' | awk -F '_' '{print $2}' | awk -F '.' '{print $1}') # New Chart MAJOR version diff_app=$(diff <(echo "$old_app_ver") <(echo "$new_app_ver")) #caluclating difference in major app versions diff_chart=$(diff <(echo "$old_chart_ver") <(echo "$new_chart_ver")) #caluclating difference in Chart versions + old_full_ver=$(echo "${array[$index]}" | awk -F ',' '{print $4}') #Upgraded From + new_full_ver=$(echo "${array[$index]}" | awk -F ',' '{print $5}') #Upraded To #Skip application if its on ignore list if printf '%s\0' "${ignore[@]}" | grep -iFxqz "${app_name}" ; then