Update run.sh
This commit is contained in:
3
run.sh
3
run.sh
@@ -8,8 +8,11 @@ else
|
||||
fi
|
||||
source /opt/idssys/defaults/colors.inc
|
||||
|
||||
if [ "${1}" != "runup" ]; then
|
||||
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
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
|
||||
git fetch origin master >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user