Ascii: Remove greedy globs

This commit is contained in:
Dylan Araps 2017-01-02 18:33:38 +11:00
parent 8639275809
commit deb508fde8
1 changed files with 3 additions and 6 deletions

View File

@ -2761,8 +2761,7 @@ get_distro_colors() {
ascii_file="minix"
;;
# TODO (Before PR is merged): Make this glob less greedy.
*"Mint"*)
"Linux Mint"* | "LinuxMint"*)
set_colors 2 7
ascii_file="mint"
;;
@ -2877,8 +2876,7 @@ get_distro_colors() {
ascii_file="redstar"
;;
# TODO (Before PR is merged): Make this glob less greedy.
"Red"*)
"Redhat"* | "Red Hat"*)
set_colors 1 7 3
ascii_file="redhat"
;;
@ -2938,8 +2936,7 @@ get_distro_colors() {
ascii_file="solaris"
;;
# TODO (Before PR is merged): Make this glob less greedy.
*"SUSE"*)
"openSUSE"* | "open SUSE")
set_colors 2 7
ascii_distro="suse"
;;