Commit 45ccd8a0 authored by Dylan's avatar Dylan

Fixes #224

parent 90ea45d9
...@@ -513,7 +513,6 @@ getdistro () { ...@@ -513,7 +513,6 @@ getdistro () {
;; ;;
esac esac
distro=${distro//+( )/ } distro=${distro//+( )/ }
ascii_distro="$distro"
# Get architecture # Get architecture
[ "$os_arch" == "on" ] && \ [ "$os_arch" == "on" ] && \
...@@ -2902,7 +2901,11 @@ done ...@@ -2902,7 +2901,11 @@ done
# Restore cursor and clear screen on ctrl+c # Restore cursor and clear screen on ctrl+c
trap 'printf "\033[?25h"; clear; exit' 2 trap 'printf "\033[?25h"; clear; exit' 2
# Distro detection
getdistro getdistro
[ -z "$ascii_distro" ] && ascii_distro="$distro"
# Text formatting
colors colors
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