Update run.sh
This commit is contained in:
6
run.sh
6
run.sh
@@ -16,9 +16,9 @@ if [ "${2}" == "q" ]; then
|
|||||||
[ "${1}" == "update" ] && echo -e "\n\n$(date) - Starting log #############################\n" >> ${MM_OUTPUT_LOGFILE}
|
[ "${1}" == "update" ] && echo -e "\n\n$(date) - Starting log #############################\n" >> ${MM_OUTPUT_LOGFILE}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ([ "${1}" == "check" ] && [ "$(date +%M)" == "15" ]) || [ "${1}" == "" ]; then
|
# if ([ "${1}" == "check" ] && [ "$(date +%M)" == "15" ]) || [ "${1}" == "" ]; then
|
||||||
#MMUPDATECHECK
|
# MMUPDATECHECK
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if ([ "${1}" == "update" ] && [ -z ${2+x} ]) || [ "${1}" == "setup" ] || [ "${1}" == "test" ]; 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
|
||||||
|
|||||||
Reference in New Issue
Block a user