This commit is contained in:
Heavybullets8 2022-07-26 16:24:22 -06:00
parent 5e6f6a7ea0
commit f907cf746a

View File

@ -9,7 +9,7 @@ script_name="heavy_script.sh"
cd "$script_path" || exit
git fetch &> /dev/null
if git diff --name-only origin/beta | grep -eq ".sh" ; then
if git diff --name-only origin/beta | grep -e -q ".sh" ; then
echo "Found a new version of HeavyScript, updating myself..."
git reset --hard -q
git pull --force -q