Generel: Fixes

This commit is contained in:
Dylan Araps 2016-11-12 19:36:01 +11:00
parent d4a405f88b
commit b3161124f2

View file

@ -22,6 +22,8 @@ shopt -s nocasematch
# DETECT INFORMATION # DETECT INFORMATION
get_os() { get_os() {
# $kernel_name is set in a function called cache_uname and is
# just the output of 'uname -s'.
case "$kernel_name" in case "$kernel_name" in
"Linux") os="Linux" ;; "Linux") os="Linux" ;;
"Darwin") os="$(sw_vers -productName)" ;; "Darwin") os="$(sw_vers -productName)" ;;
@ -2430,7 +2432,7 @@ colors() {
;; ;;
"Puppy"* | "Quirky Werewolf"* | "Precise Puppy"*) "Puppy"* | "Quirky Werewolf"* | "Precise Puppy"*)
setcolors 4 setcolors 4 7
ascii_distro="puppy" ascii_distro="puppy"
;; ;;
@ -2460,7 +2462,7 @@ colors() {
;; ;;
"Windows 8"* | "Windows 10"*) "Windows 8"* | "Windows 10"*)
setcolors 6 setcolors 6 7
ascii_distro="windows10" ascii_distro="windows10"
;; ;;