Fix PCBSD detection

This commit is contained in:
Dylan 2016-05-14 15:19:09 +10:00
parent 78cfd0a5aa
commit 77867e1671

View file

@ -509,6 +509,9 @@ getdistro () {
"BSD") "BSD")
distro="$(uname -s)" distro="$(uname -s)"
distro=${distro/DragonFly/DragonFlyBSD} distro=${distro/DragonFly/DragonFlyBSD}
# Workaround for PCBSD as uname still displays FreeBSD.
[ -f "/etc/pcdbsd-lang" ] && distro="PCBSD"
;; ;;
"Windows") "Windows")
@ -2472,7 +2475,7 @@ colors () {
setcolors 7 1 3 setcolors 7 1 3
;; ;;
"DragonFly"*) "DragonFly"* | "PCBSD"*)
setcolors 1 7 3 setcolors 1 7 3
;; ;;