Update run.sh
This commit is contained in:
6
run.sh
6
run.sh
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user