Update run.sh

This commit is contained in:
2023-11-16 19:53:58 -06:00
parent 28ce5a26c6
commit cdb370ac7e

3
run.sh
View File

@@ -4,8 +4,7 @@
source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/colors.inc
if ([ "${1}" == "" ] || [ "${1}" == "update" ]) && curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
if [ "${1}" != "check" ]; then if [ "${1}" != "check" ]; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"