From 75df5c574ea2c98d058e99f179ddb86c3c8afc18 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 9 Dec 2016 16:19:15 +1100 Subject: [PATCH] Ascii: Fix bug where OS X ascii was used on linux --- .travis.yml | 2 +- neofetch | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 383f4711..ac844ca2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi script: - - time ./neofetch --ascii --config travis --ascii_distro travis -v + - time ./neofetch --ascii --config travis -v diff --git a/neofetch b/neofetch index 605c05d4..c96717b6 100755 --- a/neofetch +++ b/neofetch @@ -2608,11 +2608,6 @@ get_distro_colors() { set_colors fg 7 ;; - *"OS X"* | *"iOS"* | "Mac" | *"macOS"*) - set_colors 2 3 1 1 5 4 - ascii_distro="mac" - ;; - "OpenMandriva"*) set_colors 4 3 ;; @@ -2683,6 +2678,11 @@ get_distro_colors() { set_colors fg 8 3 ;; + *"OS X"* | *"iOS"* | "Mac" | *"macOS"*) + set_colors 2 3 1 1 5 4 + ascii_distro="mac" + ;; + *) case "$os" in "Linux")