Ascii [Linux] Add tux ascii art if distro ascii art doesn't exist

This commit is contained in:
Dylan Araps 2016-11-05 10:29:21 +11:00
parent a14cba7068
commit 8bcfa43089
2 changed files with 28 additions and 1 deletions

14
ascii/distro/linux Normal file
View file

@ -0,0 +1,14 @@
"\
${c2} #####
${c2} #######
${c2} ##${c1}O${c2}#${c1}O${c2}##
${c2} #${c3}#####${c2}#
${c2} ##${c1}##${c3}###${c1}##${c2}##
${c2} #${c1}##########${c2}##
${c2} #${c1}############${c2}##
${c2} #${c1}############${c2}###
${c3} ##${c2}#${c1}###########${c2}##${c3}#
${c3} ######${c2}#${c1}#######${c2}#${c3}######
${c3} #######${c2}#${c1}#####${c2}#${c3}#######
${c3} #####${c2}#######${c3}#####
"

View file

@ -2561,9 +2561,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