Fix ascii color

This commit is contained in:
Dylan Araps 2016-10-02 11:33:31 +11:00
parent be9fadf7c4
commit 515f5e0fe6
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ getdistro() {
"tiny") distro="Windows 10" ;; "tiny") distro="Windows 10" ;;
*) distro="$(lsb_release -sd 2>/dev/null) on Windows 10" ;; *) distro="$(lsb_release -sd 2>/dev/null) on Windows 10" ;;
esac esac
ascii_distro="windows10" ascii_distro="Windows 10"
elif type -p lsb_release >/dev/null 2>&1; then elif type -p lsb_release >/dev/null 2>&1; then
case "$distro_shorthand" in case "$distro_shorthand" in
@ -2513,7 +2513,7 @@ colors() {
setcolors 2 8 setcolors 2 8
;; ;;
"Windows 8"* | "Windows 10"* | "Ubuntu"*"Windows") "Windows 8"* | "Windows 10"*)
setcolors 6 setcolors 6
ascii_distro="windows10" ascii_distro="windows10"
;; ;;