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
|
||||||
fi
|
fi
|
||||||
if [ ! -f /opt/idssys/mediamanager/mm.checking ]; then
|
if [ ! -f /opt/idssys/mediamanager/mm.checking ]; then
|
||||||
echo "yes"
|
|
||||||
|
|
||||||
touch /opt/idssys/mediamanager/mm.checking
|
touch /opt/idssys/mediamanager/mm.checking
|
||||||
|
|
||||||
source /opt/idssys/defaults/default.inc
|
source /opt/idssys/defaults/default.inc
|
||||||
@@ -24,15 +22,11 @@ if [ ! -f /opt/idssys/mediamanager/mm.checking ]; then
|
|||||||
source /opt/idssys/mediamanager/settings.conf
|
source /opt/idssys/mediamanager/settings.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
||||||
echo "yes2"
|
|
||||||
# if [ "${1}" = "gui" ]; then
|
# if [ "${1}" = "gui" ]; then
|
||||||
# DISP_HEADER
|
# DISP_HEADER
|
||||||
# fi
|
# fi
|
||||||
if curl -m 2 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
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
|
if [ "${2}" != "q" ]; then
|
||||||
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user