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]}"