Update run.sh
This commit is contained in:
3
run.sh
3
run.sh
@@ -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]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user