Added support for KaOS

This commit is contained in:
Dylan 2016-02-15 12:39:02 +11:00
parent 362ae7b9d0
commit 0f0806ca06
2 changed files with 26 additions and 1 deletions

9
fetch
View file

@ -424,8 +424,9 @@ x32="x86"
case "$os" in
"Linux" )
if type -p lsb_release >/dev/null 2>&1; then
distro="$(lsb_release -a 2>/dev/null | awk -F':' '/Description/ {printf $2}')"
distro="$(lsb_release -d 2>/dev/null | awk -F':' '/Description/ {printf $2}')"
distro=${distro/[[:space:]]}
elif type -p crux >/dev/null 2>&1; then
distro="CRUX"
else
@ -1637,6 +1638,12 @@ getascii () {
c2=$(color 8)
;;
"KaOS"*)
c1=$(color 4)
c2=$(color 7)
c3=$(color 1)
;;
"Mac OS X"* | "Manjaro"* | "Deepin"*)
c1=$(color 2)
c2=$(color 3)