From 77867e167168a4f797a8a571006533a6e1c73701 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 14 May 2016 15:19:09 +1000 Subject: [PATCH] Fix PCBSD detection --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 8498ae2c..271e2688 100755 --- a/neofetch +++ b/neofetch @@ -509,6 +509,9 @@ getdistro () { "BSD") distro="$(uname -s)" distro=${distro/DragonFly/DragonFlyBSD} + + # Workaround for PCBSD as uname still displays FreeBSD. + [ -f "/etc/pcdbsd-lang" ] && distro="PCBSD" ;; "Windows") @@ -2472,7 +2475,7 @@ colors () { setcolors 7 1 3 ;; - "DragonFly"*) + "DragonFly"* | "PCBSD"*) setcolors 1 7 3 ;;