Update run.sh
This commit is contained in:
5
run.sh
5
run.sh
@@ -11,10 +11,7 @@ else
|
|||||||
source /opt/idssys/mediamanager/settings.conf
|
source /opt/idssys/mediamanager/settings.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
if [ "${1}" == "update" ]; then
|
||||||
# if [ "${1}" = "gui" ]; then
|
|
||||||
# DISP_HEADER
|
|
||||||
# fi
|
|
||||||
if curl -m 15 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
if curl -m 15 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
||||||
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]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user