From 734f1b7ebc7eaf4fd85212cf81acba2c37425c3f Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 9 Aug 2022 12:19:24 -0600 Subject: [PATCH] check for file before deletion --- functions/update_apps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index fab7ada7..e1c7b45d 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -43,7 +43,7 @@ do fi done rm temp.txt -rm trigger +[[ -e trigger ]] && rm trigger echo echo }