Update run.sh

This commit is contained in:
2024-01-26 08:55:58 -06:00
parent bac6e354d4
commit 21873c869e

4
run.sh
View File

@@ -12,7 +12,7 @@ if [ "${1}" == "update" ]; then
# fi
# if [ "${1}" != "guiX" ]; then
if curl -m 15 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
if [ "${2}" != "q" ]; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
echo ""
@@ -43,7 +43,7 @@ if [ "${1}" == "update" ]; then
git repack -ad >/dev/null 2>&1
git prune >/dev/null 2>&1
git pull >/dev/null 2>&1
git submodule update --remote >/dev/null 2>&1
# git submodule update --remote >/dev/null 2>&1
/bin/chmod +x ${DS_FOLDER}/dsmon.sh 2>&1
source ${DS_FOLDER}/defaults.inc
if [ "${2}" != "q" ]; then