Update run.sh

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

2
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