Merge pull request #423 from dylanaraps/tux

Ascii [Linux] Add tux ascii art if distro ascii art doesn't exist
This commit is contained in:
Dylan Araps 2016-11-05 11:05:38 +11:00 committed by GitHub
commit 8711f1bfaf
2 changed files with 28 additions and 1 deletions

View file

@ -2555,9 +2555,22 @@ colors() {
setcolors 1 2 4 3
;;
"Raspbian"* | *)
"Raspbian"*)
setcolors 2 1
;;
"Linux")
setcolors fg 8 3
;;
*)
case "$os" in
"Linux")
ascii_distro="linux"
setcolors fg 8 3
;;
esac
;;
esac
# Overwrite distro colors if '$ascii_colors' doesn't