update
This commit is contained in:
4
run.sh
4
run.sh
@@ -13,7 +13,9 @@ if [ "$1" != "service" ] && [ "$1" != "" ]; then
|
||||
echo -e "Node hostname: ${node_hostname}"
|
||||
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
|
||||
echo ""
|
||||
echo -e "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||
if [ "$1" = "update" ]; then echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||
else echo -e "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||
fi
|
||||
echo ""
|
||||
cd /opt/idssys/defaults
|
||||
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
|
||||
|
||||
Reference in New Issue
Block a user