diff --git a/functions/self_update.sh b/functions/self_update.sh index 93543752..b3678e2a 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