Update run.sh

This commit is contained in:
2023-02-25 16:53:11 -06:00
parent 997528efd3
commit 5119405dc7

5
run.sh
View File

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