This commit is contained in:
Heavybullets8 2022-06-13 15:52:22 -06:00
parent bf5f1a0dc2
commit 546cb6892f

View File

@ -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..."