From 929360806e973763266896b60a612d09023ea0b5 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 16:26:43 -0600 Subject: [PATCH] test --- 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 b3678e2a..93543752 100644 --- a/functions/self_update.sh +++ b/functions/self_update.sh @@ -8,7 +8,7 @@ script_path=$(dirname "$script") script_name="heavy_script.sh" cd "$script_path" || exit git fetch &> /dev/null -#update + if git diff --name-only origin/beta | grep -qs ".sh" ; then echo "Found a new version of HeavyScript, updating myself..." git reset --hard -q