trigger fix

This commit is contained in:
Heavybullets8 2022-08-09 23:34:06 -06:00
parent dcd562462b
commit 96b462fd5d

View File

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