Update run.sh

This commit is contained in:
2018-03-18 22:15:34 -05:00
parent a3ac151e48
commit 8fc5f8a656

4
run.sh
View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# UbUpdate - Ubuntu Update Scripts Loader # UbUpdate - Ubuntu Update Scripts Loader
cd /opt/LinUPx cd /opt/ubuntu-upscripts
echo "" echo ""
#if [ -z "$1" ]; then #if [ -z "$1" ]; then
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/master^ | head -n 1`" = "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
@@ -20,4 +20,4 @@ echo ""
#else #else
# ./upscripts.sh $1 # ./upscripts.sh $1
#fi #fi
exit 0 exit 0