asd
This commit is contained in:
parent
f11e0a4fa7
commit
47aaaac272
@ -8,7 +8,7 @@ script_path=$(dirname "$script")
|
|||||||
script_name="heavy_script.sh"
|
script_name="heavy_script.sh"
|
||||||
cd "$script_path" || exit
|
cd "$script_path" || exit
|
||||||
git fetch &> /dev/null
|
git fetch &> /dev/null
|
||||||
|
#update
|
||||||
if git diff --name-only origin/beta | grep -qs ".sh" ; then
|
if git diff --name-only origin/beta | grep -qs ".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
|
||||||
|
Loading…
Reference in New Issue
Block a user