Ascii: [Windows 10] Fix ascii_distro not working

This commit is contained in:
Dylan Araps 2017-01-24 23:41:48 +11:00
parent 8b87e9978e
commit 32c4b00bfd

View file

@ -59,7 +59,6 @@ get_distro() {
"tiny") distro="Windows 10" ;;
*) distro="$(lsb_release -sd) on Windows 10" ;;
esac
ascii_distro="Windows 10"
elif [[ -f "/etc/GoboLinuxVersion" ]]; then
case "$distro_shorthand" in
@ -3143,7 +3142,7 @@ get_distro_colors() {
ascii_file="void"
;;
"Windows 8"* | "Windows 10"*)
*"[Windows 10]"* | *"on Windows 10"* | "Windows 8"* | "Windows 10"*)
set_colors 6 7
ascii_file="windows10"
;;