This commit is contained in:
2023-12-03 21:06:09 -06:00
parent c3f87211f1
commit ea04fc996a
3 changed files with 10 additions and 2 deletions

1
run.sh
View File

@@ -33,6 +33,7 @@ if [ "${1}" == "update" ]; then
cd ${NM_FOLDER}
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/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]}Updating NodeMgmt...${idsCL[Default]}"