Trim '$ascii_distro' variable

This commit is contained in:
Dylan Araps 2016-06-12 12:06:30 +10:00
parent 34c89c05cc
commit 5d4e65ad54
1 changed files with 1 additions and 2 deletions

View File

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