Fix PCBSD detection
This commit is contained in:
parent
78cfd0a5aa
commit
77867e1671
1 changed files with 4 additions and 1 deletions
5
neofetch
5
neofetch
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue