This commit is contained in:
Heavybullets8 2022-06-13 15:50:20 -06:00
parent 6658586651
commit bf5f1a0dc2

View File

@ -14,9 +14,9 @@ SCRIPTNAME="$0"
cd $SCRIPTPATH cd $SCRIPTPATH
git fetch git fetch
[[ -n $(git diff --name-only origin/$BRANCH | 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..."
git pull --force git pull --force &> /dev/null
echo "Running the new version..." echo "Running the new version..."
count=0 count=0
for i in "${args[@]}" for i in "${args[@]}"