diff --git a/run.sh b/run.sh index 97f46f37..97e8793a 100755 --- a/run.sh +++ b/run.sh @@ -11,11 +11,6 @@ source /opt/idssys/nodemgmt/settings.conf source /opt/idssys/nodemgmt/defaults.inc if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then - # if [ "${1}" = "gui" ]; then - # DISP_HEADER - # fi - - # if [ "${1}" != "guiX" ]; then if curl -m 5 -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]}" @@ -25,7 +20,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ " if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then if [ "${2}" != "q" ]; then echo -en "\e[1A"; - echo -e "\e[0K\r ${idsCL[LightCyan]}Installing updates...${idsCL[Default]}" + echo -e "${idsCL[LightCyan]}Updating iDSSYS-Defaults...${idsCL[Default]}" fi git fetch origin master >/dev/null 2>&1 git reset --hard origin/master >/dev/null 2>&1 @@ -40,7 +35,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ " # if [ "`git log --pretty=%H ...refs/heads/dev^ | head -n 1`" != "`git ls-remote origin -h refs/heads/dev |cut -f1`" ]; then if [ "${2}" != "q" ]; then echo -en "\e[1A"; - echo -e "\e[0K\r ${idsCL[LightCyan]}Installing updates...${idsCL[Default]}" + echo -e "\e[0K\r ${idsCL[LightCyan]}Updating MediaManager...${idsCL[Default]}" fi git fetch origin master >/dev/null 2>&1 git reset --hard origin/master >/dev/null 2>&1