Update run.sh

This commit is contained in:
2023-01-01 16:42:17 -06:00
parent bab7755a9a
commit 79155c4a35

6
run.sh
View File

@@ -12,8 +12,6 @@ if [ -f /opt/idssys/mediamanager/mm.checking ]; then
fi
fi
if [ ! -f /opt/idssys/mediamanager/mm.checking ]; then
echo "yes"
touch /opt/idssys/mediamanager/mm.checking
source /opt/idssys/defaults/default.inc
@@ -23,16 +21,12 @@ if [ ! -f /opt/idssys/mediamanager/mm.checking ]; then
else
source /opt/idssys/mediamanager/settings.conf
fi
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
echo "yes2"
# if [ "${1}" = "gui" ]; then
# DISP_HEADER
# fi
if curl -m 2 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
echo "yes3"
if [ "${2}" != "q" ]; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
echo ""