OS: Add detection for TrueOS
This commit is contained in:
parent
c23194a5e8
commit
4376391112
1
neofetch
1
neofetch
|
@ -156,6 +156,7 @@ get_distro() {
|
||||||
|
|
||||||
# Workarounds for FreeBSD based distros.
|
# Workarounds for FreeBSD based distros.
|
||||||
[[ -f "/etc/pcbsd-lang" ]] && distro="PCBSD"
|
[[ -f "/etc/pcbsd-lang" ]] && distro="PCBSD"
|
||||||
|
[[ -f "/etc/trueos-lang" ]] && distro="TrueOS"
|
||||||
[[ -f "/etc/pacbsd-release" ]] && distro="PacBSD"
|
[[ -f "/etc/pacbsd-release" ]] && distro="PacBSD"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Reference in New Issue