From cdb370ac7e07e5b925f97cacdda1b21e4df013f7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 16 Nov 2023 19:53:58 -0600 Subject: [PATCH] Update run.sh --- run.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.sh b/run.sh index fa384bf..b760c09 100755 --- a/run.sh +++ b/run.sh @@ -4,8 +4,7 @@ source /opt/idssys/defaults/colors.inc - -if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then +if ([ "${1}" == "" ] || [ "${1}" == "update" ]) && curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then if [ "${1}" != "check" ]; then echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"