This commit is contained in:
Jack Gannon 2022-11-13 16:18:30 +00:00
parent 0e93f5484f
commit 8d9d4407a3

View file

@ -1094,9 +1094,9 @@ get_distro() {
distro=${distro/DragonFly/DragonFlyBSD}
# Workarounds for some BSD based distros.
[[ -f /etc/os-release ]] && distro=Enso
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
[[ -f /etc/trueos-lang ]] && distro=TrueOS
[[ -f /etc/os-release ]] && distro=Enso
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
[[ -f /etc/hbsd-update.conf ]] && distro=HardenedBSD
fi