Update run.sh

This commit is contained in:
2024-09-30 16:55:30 -05:00
parent 2800189279
commit c5cceff01a

6
run.sh
View File

@@ -16,9 +16,9 @@ if [ "${2}" == "q" ]; then
[ "${1}" == "update" ] && echo -e "\n\n$(date) - Starting log #############################\n" >> ${MM_OUTPUT_LOGFILE}
fi
if ([ "${1}" == "check" ] && [ "$(date +%M)" == "15" ]) || [ "${1}" == "" ]; then
#MMUPDATECHECK
fi
# if ([ "${1}" == "check" ] && [ "$(date +%M)" == "15" ]) || [ "${1}" == "" ]; then
# MMUPDATECHECK
# fi
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