From 8811ab99cf5b0ab59b3af99b646bc5609d8907ab Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 10 Feb 2019 22:31:43 -0600 Subject: [PATCH] Update run.sh --- run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.sh b/run.sh index 9045d64b..d2154319 100755 --- a/run.sh +++ b/run.sh @@ -25,6 +25,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; 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 fi cd /opt/idssys/nodemgmt if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then @@ -34,6 +35,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; 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 fi echo -en "\e[1A"; echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}"