From 13f2d3a1732e5c33b3238462a2f68972c5b0f11e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 30 Oct 2019 12:11:10 +0000 Subject: [PATCH] neofetch: Added initial support for HardenedBSD. Closes #1050 --- neofetch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/neofetch b/neofetch index 4984ffaf..ef83acdc 100755 --- a/neofetch +++ b/neofetch @@ -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}`