another push
This commit is contained in:
parent
a1dc4fd99a
commit
cad43d63ef
@ -3,7 +3,7 @@
|
|||||||
#If no argument is passed, kill the script.
|
#If no argument is passed, kill the script.
|
||||||
[[ -z "$*" || "-" == "$*" || "--" == "$*" ]] && echo "This script requires an argument, use --help for help" && exit
|
[[ -z "$*" || "-" == "$*" || "--" == "$*" ]] && echo "This script requires an argument, use --help for help" && exit
|
||||||
|
|
||||||
ARGS="$*" ; echo "${ARGS}//--self-update/"
|
ARGS="$*" ; echo "${ARGS//--self-update/}"
|
||||||
SCRIPT=$(readlink -f "$0")
|
SCRIPT=$(readlink -f "$0")
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
SCRIPTNAME="$0"
|
SCRIPTNAME="$0"
|
||||||
@ -30,7 +30,7 @@ git fetch
|
|||||||
echo "Already the latest version."
|
echo "Already the latest version."
|
||||||
}
|
}
|
||||||
|
|
||||||
echo
|
|
||||||
|
|
||||||
help(){
|
help(){
|
||||||
[[ $help == "true" ]] && clear -x
|
[[ $help == "true" ]] && clear -x
|
||||||
|
Loading…
Reference in New Issue
Block a user