neofetch: Added initial support for HardenedBSD. Closes #1050

This commit is contained in:
Dylan Araps 2019-10-30 12:11:10 +00:00
parent 9f25f34fa1
commit 13f2d3a173
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -957,9 +957,10 @@ get_distro() {
distro=${distro/DragonFly/DragonFlyBSD}
# Workarounds for some BSD based distros.
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
[[ -f /etc/trueos-lang ]] && distro=TrueOS
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
[[ -f /etc/trueos-lang ]] && distro=TrueOS
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
[[ -f /etc/hbsd-update.conf ]] && distro=HardenedBSD
fi
fi
@ -6419,7 +6420,7 @@ ${c1}/\\,-'''''-,/\\
EOF
;;
"FreeBSD"*)
"FreeBSD"*|HardenedBSD*)
set_colors 1 7 3
read -rd '' ascii_data <<'EOF'
${c2}``` ${c1}`