Ascii: Fix bug where OS X ascii was used on linux

This commit is contained in:
Dylan Araps 2016-12-09 16:19:15 +11:00
parent 6106bea659
commit 75df5c574e
2 changed files with 6 additions and 6 deletions

View file

@ -10,4 +10,4 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
script: script:
- time ./neofetch --ascii --config travis --ascii_distro travis -v - time ./neofetch --ascii --config travis -v

View file

@ -2608,11 +2608,6 @@ get_distro_colors() {
set_colors fg 7 set_colors fg 7
;; ;;
*"OS X"* | *"iOS"* | "Mac" | *"macOS"*)
set_colors 2 3 1 1 5 4
ascii_distro="mac"
;;
"OpenMandriva"*) "OpenMandriva"*)
set_colors 4 3 set_colors 4 3
;; ;;
@ -2683,6 +2678,11 @@ get_distro_colors() {
set_colors fg 8 3 set_colors fg 8 3
;; ;;
*"OS X"* | *"iOS"* | "Mac" | *"macOS"*)
set_colors 2 3 1 1 5 4
ascii_distro="mac"
;;
*) *)
case "$os" in case "$os" in
"Linux") "Linux")