From c1e731c72c1ebeef1a88bd3cdb992c7e446ce8bb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 27 May 2023 16:23:31 -0500 Subject: [PATCH] Update run.sh --- run.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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]}"