Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -20,7 +20,7 @@ if ([ "${1}" == "check" ] && [ "$(date +%M)" == "15" ]) || [ "${1}" == "" ]; the
|
|||||||
MMUPDATECHECK
|
MMUPDATECHECK
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ([ "${1}" == "update" ] && [ -z ${2+x} ]) || [ "${1}" == "setup" ]; then
|
if ([ "${1}" == "update" ] && [ -z ${2+x} ]) || [ "${1}" == "setup" ] || [ "${1}" == "test" ]; then
|
||||||
if curl -m 5 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
if curl -m 5 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
||||||
if [ "${2}" != "qq" ]; then
|
if [ "${2}" != "qq" ]; 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