mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 20:34:57 +00:00
Fix PCBSD detection
This commit is contained in:
5
neofetch
5
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
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user