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