ascii: Fix ascii art on windows.

This commit is contained in:
Dylan Araps 2018-05-20 14:22:26 +10:00
parent 7b1b3755a9
commit c4bf54db3d
1 changed files with 23 additions and 23 deletions

View File

@ -5084,7 +5084,7 @@ get_distro_ascii() {
# This function gets the distro ascii art and colors.
#
# $ascii_distro is the same as $distro.
case "$ascii_distro" in
case "$( trim "$ascii_distro")" in
"AIX"*)
set_colors 2 7
read -rd '' ascii_data <<'EOF'
@ -8462,6 +8462,28 @@ llllllllllllll lllllllllllllllllll
EOF
;;
"Windows"*)
set_colors 1 2 4 3
read -rd '' ascii_data <<'EOF'
${c1} ,.=:!!t3Z3z.,
:tt:::tt333EE3
${c1} Et:::ztt33EEEL${c2} @Ee., ..,
${c1} ;tt:::tt333EE7${c2} ;EEEEEEttttt33#
${c1} :Et:::zt333EEQ.${c2} $EEEEEttttt33QL
${c1} it::::tt333EEF${c2} @EEEEEEttttt33F
${c1} ;3=*^```"*4EEV${c2} :EEEEEEttttt33@.
${c3} ,.=::::!t=., ${c1}`${c2} @EEEEEEtttz33QF
${c3} ;::::::::zt33)${c2} "4EEEtttji3P*
${c3} :t::::::::tt33.${c4}:Z3z..${c2} ``${c4} ,..g.
${c3} i::::::::zt33F${c4} AEEEtttt::::ztF
${c3} ;:::::::::t33V${c4} ;EEEttttt::::t3
${c3} E::::::::zt33L${c4} @EEEtttt::::z3F
${c3}{3=*^```"*4E3)${c4} ;EEEtttt:::::tZ`
${c3} `${c4} :EEEEtttt::::z7
"VEzjt:;;z>*`
EOF
;;
"Xubuntu"*)
set_colors 4 7 1
read -rd '' ascii_data <<'EOF'
@ -8511,28 +8533,6 @@ ssssssssssssso/-` `-/osssssssssssss
EOF
;;
*"Windows"*)
set_colors 1 2 4 3
read -rd '' ascii_data <<'EOF'
${c1} ,.=:!!t3Z3z.,
:tt:::tt333EE3
${c1} Et:::ztt33EEEL${c2} @Ee., ..,
${c1} ;tt:::tt333EE7${c2} ;EEEEEEttttt33#
${c1} :Et:::zt333EEQ.${c2} $EEEEEttttt33QL
${c1} it::::tt333EEF${c2} @EEEEEEttttt33F
${c1} ;3=*^```"*4EEV${c2} :EEEEEEttttt33@.
${c3} ,.=::::!t=., ${c1}`${c2} @EEEEEEtttz33QF
${c3} ;::::::::zt33)${c2} "4EEEtttji3P*
${c3} :t::::::::tt33.${c4}:Z3z..${c2} ``${c4} ,..g.
${c3} i::::::::zt33F${c4} AEEEtttt::::ztF
${c3} ;:::::::::t33V${c4} ;EEEttttt::::t3
${c3} E::::::::zt33L${c4} @EEEtttt::::z3F
${c3}{3=*^```"*4E3)${c4} ;EEEtttt:::::tZ`
${c3} `${c4} :EEEEtttt::::z7
"VEzjt:;;z>*`
EOF
;;
*)
case "$kernel_name" in
*"BSD")