Commit 5d4e65ad authored by Dylan Araps's avatar Dylan Araps

Trim '$ascii_distro' variable

parent 34c89c05
...@@ -2697,7 +2697,6 @@ colors () { ...@@ -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 ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment