Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -21,7 +21,7 @@ if ([ "${1}" == "check" ] && [ "$(date +%M)" == "15" ]) || [ "${1}" == "" ]; the
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${1}" == "update" ] || [ "${1}" == "setup" ]; then
|
if [ "${1}" == "update" ] || [ "${1}" == "setup" ]; then
|
||||||
if curl -m 15 -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]}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user