again
This commit is contained in:
parent
21baeaf4d8
commit
3bd0543fc5
@ -4,7 +4,7 @@ args=("$@")
|
|||||||
self_update() {
|
self_update() {
|
||||||
git fetch &> /dev/null
|
git fetch &> /dev/null
|
||||||
echo "🅂 🄴 🄻 🄵 🅄 🄿 🄳 🄰 🅃 🄴 :"
|
echo "🅂 🄴 🄻 🄵 🅄 🄿 🄳 🄰 🅃 🄴 :"
|
||||||
# TODO: change beta to main once testing is complete
|
# TODO: change beta to main once testing is complete
|
||||||
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