Update run.sh

This commit is contained in:
2023-01-01 16:41:41 -06:00
parent 48aade323d
commit bab7755a9a

4
run.sh
View File

@@ -30,7 +30,7 @@ if [ ! -f /opt/idssys/mediamanager/mm.checking ]; then
# if [ "${1}" = "gui" ]; then
# DISP_HEADER
# fi
if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
if curl -m 2 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
echo "yes3"
if [ "${2}" != "q" ]; then
@@ -73,6 +73,8 @@ if [ ! -f /opt/idssys/mediamanager/mm.checking ]; then
echo -en "\e[1A";
echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}"
fi
else
echo -e "${idsCL[Red]}Could not connect to 'git.schroedercity.com' for updates${idsCL[Default]}"
fi
fi
/opt/idssys/mediamanager/mm-scripts.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14}