This commit is contained in:
Heavybullets8 2022-07-20 06:29:29 -06:00
parent 31c1c7cd9b
commit 9241f27c2d

View File

@ -12,7 +12,7 @@ SCRIPTNAME="$0"
cd $SCRIPTPATH
git fetch &> /dev/null
if git diff --name-only origin/main | grep -q $SCRIPTNAME ; then
if git diff --name-only origin/main | grep -q "$SCRIPTNAME" ; then
echo "Found a new version of HeavyScript, updating myself..."
git reset --hard -q
git pull --force -q