Merge pull request #438 from konimex/asciifallback

Added fallback ASCII for *BSD, Solaris, and GNU (Hurd)
This commit is contained in:
Dylan Araps 2016-11-13 23:11:05 +11:00 committed by GitHub
commit fccc7609a9
4 changed files with 63 additions and 4 deletions

19
ascii/distro/bsd Normal file
View file

@ -0,0 +1,19 @@
${c1} , ,
/( )`
\ \___ / |
/- _ `-/ '
(${c2}/\/ \ ${c1}\ /\
${c2}/ / | ` ${c1}\
${c3}O O ${c2}) ${c1}/ |
${c2}`-^--'${c1}`< '
(_.) _ ) /
`.___/` /
`-----' /
${c4}<----. __ / __ \
${c4}<----|====${c1}O)))${c4}==${c1}) \) /${c4}====|
<----' ${c1}`--' `.__,' \
| |
\ / /\
${c5}______${c1}( (_ / \______/
${c5},' ,-----' |
`--{__________)

18
ascii/distro/gnu Normal file
View file

@ -0,0 +1,18 @@
${c1} _-`````-, ,- '- .
.' .- - | | - -. `.
/.' / `. \
:/ : _... ..._ `` :
:: : /._ .`:'_.._\. || :
:: `._ ./ ,` : \ . _.'' .
`:. / | -. \-. \\_ /
\:._ _/ .' .@) \@) ` `\ ,.'
_/,--' .- .\,-.`--`.
,'/'' (( \ ` )
/'/' \ `-' (
'/'' `._,-----'
''/' .,---'
''/' ;:
''/'' ''/
''/''/''
'/'/'
`;

8
ascii/distro/solaris Normal file
View file

@ -0,0 +1,8 @@
${c1} `- `
`-- `+- .:
.+: `++: -/+- .
`.::` -++/``:::`./+/ `.-/.
`++/-`.` ` /++:`
`` ./:` .: `..`.-
``./+/:- -+++:-
-/+` :.

View file

@ -2537,10 +2537,24 @@ get_distro_colors() {
;;
*)
if [[ "$os" == "Linux" ]]; then
ascii_distro="linux"
set_colors fg 8 3
fi
case "$os" in
"Linux")
ascii_distro="linux"
set_colors fg 8 3
;;
"BSD")
ascii_distro="bsd"
set_colors 1 7 4 3 6
;;
"GNU")
ascii_distro="gnu"
set_colors fg
;;
"Solaris")
ascii_distro="solaris"
set_colors 3
;;
esac
;;
esac