Update run.sh
This commit is contained in:
4
run.sh
4
run.sh
@@ -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
|
||||||
Reference in New Issue
Block a user