beta
This commit is contained in:
parent
ec6e0884ef
commit
cf004dd928
@ -12,7 +12,7 @@ SCRIPTNAME="$0"
|
|||||||
cd $SCRIPTPATH
|
cd $SCRIPTPATH
|
||||||
git fetch &> /dev/null
|
git fetch &> /dev/null
|
||||||
|
|
||||||
if [[ -n $(git diff --name-only origin/main | grep $SCRIPTNAME) ]]; then
|
if [[ -n $(git diff --name-only origin/beta | grep $SCRIPTNAME) ]]; 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