From 0b4d87fe302809fd83af6f986c179697a687e97c Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Sat, 1 Apr 2023 18:51:20 -0400 Subject: [PATCH] Update getupdates.sh --- cron/getupdates.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron/getupdates.sh b/cron/getupdates.sh index 601ac38..5d7b18d 100644 --- a/cron/getupdates.sh +++ b/cron/getupdates.sh @@ -8,6 +8,8 @@ git pull # check if there are any changes if [[ $(git diff HEAD@{1} HEAD) ]]; then + # if getupdates.sh scripts is update it make it executable + chmod +x ./cron/getupdates.sh # if there are changes, run docker-compose up with force-restart docker-compose up -d --force-restart fi