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
|
||||
source includes/update_self.sh
|
||||
|
||||
title
|
||||
|
||||
[[ "$enableUpdate" == "true" ]] && updater "$@"
|
||||
|
||||
#If no argument is passed, kill the script.
|
||||
#If no argument is passed, set flag to show menu
|
||||
if [[ -z "$*" || "-" == "$*" || "--" == "$*" ]]; then
|
||||
no_args
|
||||
no_args="true"
|
||||
else
|
||||
|
||||
# Parse script options
|
||||
@ -126,6 +122,15 @@ else
|
||||
done
|
||||
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
|
||||
[[ "$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