From 6658586651e514929dc9de67d5bea0cd699bd4a4 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 13 Jun 2022 15:45:22 -0600 Subject: [PATCH] delete branch --- heavy_script.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/heavy_script.sh b/heavy_script.sh index dcff7967..3ebd69e2 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -11,15 +11,12 @@ self_update() { SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") SCRIPTNAME="$0" -BRANCH="beta" cd $SCRIPTPATH git fetch [[ -n $(git diff --name-only origin/$BRANCH | grep $SCRIPTNAME) ]] && { echo "Found a new version of me, updating myself..." git pull --force - git checkout $BRANCH - git pull --force echo "Running the new version..." count=0 for i in "${args[@]}"