folder change

This commit is contained in:
2019-01-27 15:30:27 -06:00
parent ba5b8fc051
commit ada6205776
2 changed files with 6 additions and 8 deletions

7
run.sh
View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# MySQL-BU Loader
# NodeMgmt Loader
source /opt/nodemgmt/settings.conf
cd /opt/nodemgmt
source /opt/idssys/nodemgmt/settings.conf
cd /opt/idssys/nodemgmt
#echo ""
if [ "$1" != "backup" ]; then
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
@@ -15,7 +15,6 @@ if [ "$1" != "backup" ]; then
#echo ""
#echo -e "\e[92m\e[1mLinUPx update completed\e[0m"
fi
git submodule foreach git pull origin master
fi
./nodemgmt-scripts.sh $1 $2
exit 0