var name
This commit is contained in:
parent
cf004dd928
commit
0237617ba2
@ -28,7 +28,7 @@ if [[ -n $(git diff --name-only origin/beta | grep $SCRIPTNAME) ]]; then
|
|||||||
|
|
||||||
# Now exit this old instance
|
# Now exit this old instance
|
||||||
exit
|
exit
|
||||||
elif [[ $self_update == "true" ]]; then
|
elif [[ $self_updated == "true" ]]; then
|
||||||
echo -e "HeavyScript has been updated\n"
|
echo -e "HeavyScript has been updated\n"
|
||||||
else
|
else
|
||||||
echo -e "HeavyScript is already the latest version\n"
|
echo -e "HeavyScript is already the latest version\n"
|
||||||
@ -393,7 +393,7 @@ do
|
|||||||
deleteBackup="true"
|
deleteBackup="true"
|
||||||
;;
|
;;
|
||||||
updated)
|
updated)
|
||||||
self_update="true"
|
self_updated="true"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo -e "Invalid Option \"--$OPTARG\"\n" && help
|
echo -e "Invalid Option \"--$OPTARG\"\n" && help
|
||||||
|
Loading…
Reference in New Issue
Block a user