This commit is contained in:
Heavybullets8 2022-07-20 05:54:30 -06:00
parent ec6e0884ef
commit cf004dd928

View File

@ -12,7 +12,7 @@ SCRIPTNAME="$0"
cd $SCRIPTPATH cd $SCRIPTPATH
git fetch &> /dev/null git fetch &> /dev/null
if [[ -n $(git diff --name-only origin/main | grep $SCRIPTNAME) ]]; then if [[ -n $(git diff --name-only origin/beta | grep $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