quoting
This commit is contained in:
parent
31c1c7cd9b
commit
9241f27c2d
@ -12,7 +12,7 @@ SCRIPTNAME="$0"
|
|||||||
cd $SCRIPTPATH
|
cd $SCRIPTPATH
|
||||||
git fetch &> /dev/null
|
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..."
|
echo "Found a new version of HeavyScript, updating myself..."
|
||||||
git reset --hard -q
|
git reset --hard -q
|
||||||
git pull --force -q
|
git pull --force -q
|
||||||
|
Loading…
Reference in New Issue
Block a user