Update run.sh

This commit is contained in:
2020-04-07 19:03:38 -05:00
parent 411b11325c
commit 31b7aef1db

2
run.sh
View File

@@ -34,7 +34,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
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
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]}"