shuffle things to allow for no-color fix to apply correctly
This commit is contained in:
parent
d5eb5ac16e
commit
4fa845679e
17
truetool.sh
17
truetool.sh
@ -33,13 +33,9 @@ source includes/update.sh
|
|||||||
# shellcheck source=includes/update_self.sh
|
# shellcheck source=includes/update_self.sh
|
||||||
source includes/update_self.sh
|
source includes/update_self.sh
|
||||||
|
|
||||||
title
|
#If no argument is passed, set flag to show menu
|
||||||
|
|
||||||
[[ "$enableUpdate" == "true" ]] && updater "$@"
|
|
||||||
|
|
||||||
#If no argument is passed, kill the script.
|
|
||||||
if [[ -z "$*" || "-" == "$*" || "--" == "$*" ]]; then
|
if [[ -z "$*" || "-" == "$*" || "--" == "$*" ]]; then
|
||||||
no_args
|
no_args="true"
|
||||||
else
|
else
|
||||||
|
|
||||||
# Parse script options
|
# Parse script options
|
||||||
@ -126,6 +122,15 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
title
|
||||||
|
|
||||||
|
[[ "$enableUpdate" == "true" ]] && updater "$@"
|
||||||
|
|
||||||
|
#If no argument is passed, set flag to show menu
|
||||||
|
if [[ "$no_args" == "true" ]]; then
|
||||||
|
no_args
|
||||||
|
fi
|
||||||
|
|
||||||
## Exit if incompatable functions are called
|
## Exit if incompatable functions are called
|
||||||
[[ "$update_all_apps" == "true" && "$update_apps" == "true" ]] && echo -e "-U and -u cannot BOTH be called" && exit
|
[[ "$update_all_apps" == "true" && "$update_apps" == "true" ]] && echo -e "-U and -u cannot BOTH be called" && exit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user