From 5119405dc790f909d11762092ba668616cce2d22 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Feb 2023 16:53:11 -0600 Subject: [PATCH] Update run.sh --- run.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/run.sh b/run.sh index bca0bfa..f1822a0 100755 --- a/run.sh +++ b/run.sh @@ -11,10 +11,7 @@ else source /opt/idssys/mediamanager/settings.conf fi -if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then - # if [ "${1}" = "gui" ]; then - # DISP_HEADER - # fi +if [ "${1}" == "update" ]; then if curl -m 15 -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]}"