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
1 changed files with 5 additions and 4 deletions

View File

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