diff --git a/run.sh b/run.sh index f36014c..edad61f 100755 --- a/run.sh +++ b/run.sh @@ -11,7 +11,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then # if [ "${1}" = "gui" ]; then # DISP_HEADER # fi - if [ "${1}" != "guiX" ]; then + if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then if [ "${2}" != "q" ]; then echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo ""