Trim '$ascii_distro' variable

This commit is contained in:
Dylan Araps 2016-06-12 12:06:30 +10:00
parent 34c89c05cc
commit 5d4e65ad54

View file

@ -2697,7 +2697,6 @@ colors () {
"Windows"*) "Windows"*)
setcolors 1 2 4 3 setcolors 1 2 4 3
ascii_distro="windows"
;; ;;
"Raspbian"* | *) "Raspbian"* | *)
@ -3281,7 +3280,7 @@ trap 'printf "\033[?25h"; clear; exit' 2
# Distro detection # Distro detection
getdistro getdistro
[ -z "$ascii_distro" ] && ascii_distro="$distro" [ -z "$ascii_distro" ] && ascii_distro="$(trim $distro)"
# Get colors and bold # Get colors and bold
bold bold