diff --git a/run.sh b/run.sh index f6debbf1..c8576c5d 100755 --- a/run.sh +++ b/run.sh @@ -52,10 +52,15 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ " git pull >/dev/null 2>&1 git submodule update --remote >/dev/null 2>&1 /bin/chmod +x /opt/idssys/nodemgmt/nodemgmt-scripts.sh 2>&1 + + source ${FOLDER}/defaults.inc if [ "${2}" != "q" ]; then echo -en "\e[1A"; - echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}" - fi + echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}" + else + echo -e "${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}" + fi + elif [ "${2}" != "q" ]; then echo -en "\e[1A"; echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}"