test
This commit is contained in:
parent
c9db9cfc3e
commit
5e6f6a7ea0
@ -9,7 +9,7 @@ script_name="heavy_script.sh"
|
|||||||
cd "$script_path" || exit
|
cd "$script_path" || exit
|
||||||
git fetch &> /dev/null
|
git fetch &> /dev/null
|
||||||
|
|
||||||
if git diff --name-only origin/beta ; then #| grep -q "$script_name"
|
if git diff --name-only origin/beta | grep -eq ".sh" ; then
|
||||||
echo "Found a new version of HeavyScript, updating myself..."
|
echo "Found a new version of HeavyScript, updating myself..."
|
||||||
git reset --hard -q
|
git reset --hard -q
|
||||||
git pull --force -q
|
git pull --force -q
|
||||||
|
Loading…
Reference in New Issue
Block a user