NomadBSD detect cleanup.

This commit is contained in:
Andreas T Jonsson 2022-07-04 12:08:32 +02:00
parent b4bc49d1d7
commit dabf15d34f

View file

@ -1035,7 +1035,7 @@ get_distro() {
esac
# Workaround for NomadBSD.
[[ $NAME = FreeBSD ]] && [[ -f /usr/bin/nomadbsd-sysinfo ]] && distro=NomadBSD
[[ $distro = FreeBSD* ]] && [[ -f /usr/bin/nomadbsd-sysinfo ]] && distro=NomadBSD
elif [[ -f /etc/GoboLinuxVersion ]]; then
case $distro_shorthand in