Update run.sh
This commit is contained in:
1 parent
e77d95aba8
commit
5a1acbe13b
1 file changed
+2
-3
@@ -46,9 +46,8 @@ if [ "$1" != "service" ] && [ "$1" != "status" ] && [ "$1" != "" ]; then
|
||||
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
|
||||
echo ""
|
||||
|
||||
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 -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||
|
||||
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