From 9148e87385db2dd506205fe81db93c4194634cb6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 28 Apr 2022 20:44:49 -0500 Subject: [PATCH] Update run.sh --- run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index f64cd86..61efef9 100755 --- a/run.sh +++ b/run.sh @@ -9,6 +9,7 @@ else source /opt/idssys/settings/mysqlbu.conf fi #if [ "$1" != "backup" ]; then +if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo "" cd /opt/idssys/defaults @@ -34,6 +35,6 @@ fi echo -en "\e[1A"; echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}" echo "" -#fi +fi /opt/idssys/mysqlbu/mysqlbu-scripts.sh $1 $2 $3 $4 exit 0