From 96b462fd5d4b05ad62d35452fe9001426bb368cd Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 9 Aug 2022 23:34:06 -0600 Subject: [PATCH] trigger fix --- functions/update_apps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 7fa3327d..38462066 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -13,9 +13,10 @@ echo "Asynchronous Updates: $update_limit" it=0 while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null) > temp.txt echo "$while_status" > temp.txt +rm trigger &>/dev/null while true do - if [ -f trigger ]; then + if [[ -f trigger ]]; then while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null) echo "$while_status" > temp.txt fi