From 15147eccc72c28d4f9e86d81c300da2818339d2d Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 13:35:16 -0600 Subject: [PATCH] self update beta --- functions/self_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/self_update.sh b/functions/self_update.sh index 340d5a5d..024630d1 100644 --- a/functions/self_update.sh +++ b/functions/self_update.sh @@ -9,7 +9,7 @@ script_name="heavy_script.sh" cd "$script_path" || exit git fetch &> /dev/null -if git diff --name-only origin/main | grep -q "$script_name" ; then +if git diff --name-only origin/beta | grep -q "$script_name" ; then echo "Found a new version of HeavyScript, updating myself..." git reset --hard -q git pull --force -q