formatting
This commit is contained in:
parent
083269cdff
commit
7f99e9e46e
@ -16,7 +16,7 @@ git fetch &> /dev/null
|
|||||||
[[ -n $(git diff --name-only origin/beta | grep $SCRIPTNAME) ]] && {
|
[[ -n $(git diff --name-only origin/beta | grep $SCRIPTNAME) ]] && {
|
||||||
echo "Found a new version of me, updating myself..."
|
echo "Found a new version of me, updating myself..."
|
||||||
git pull --force &> /dev/null
|
git pull --force &> /dev/null
|
||||||
echo "Running the new version..."
|
echo -e "Running the new version...\n"
|
||||||
count=0
|
count=0
|
||||||
for i in "${args[@]}"
|
for i in "${args[@]}"
|
||||||
do
|
do
|
||||||
@ -28,7 +28,7 @@ git fetch &> /dev/null
|
|||||||
# Now exit this old instance
|
# Now exit this old instance
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
echo "Already the latest version."
|
echo -e "Already the latest version.\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user