test
This commit is contained in:
parent
bf5f1a0dc2
commit
546cb6892f
@ -12,7 +12,7 @@ SCRIPT=$(readlink -f "$0")
|
|||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
SCRIPTNAME="$0"
|
SCRIPTNAME="$0"
|
||||||
cd $SCRIPTPATH
|
cd $SCRIPTPATH
|
||||||
git fetch
|
git fetch &> /dev/null
|
||||||
|
|
||||||
[[ -n $(git diff --name-only origin/beta | grep $SCRIPTNAME) ]] && {
|
[[ -n $(git diff --name-only origin/beta | grep $SCRIPTNAME) ]] && {
|
||||||
echo "Found a new version of me, updating myself..."
|
echo "Found a new version of me, updating myself..."
|
||||||
|
Loading…
Reference in New Issue
Block a user