NomadBSD detect cleanup.
This commit is contained in:
@@ -1035,7 +1035,7 @@ get_distro() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Workaround for NomadBSD.
|
# 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
|
elif [[ -f /etc/GoboLinuxVersion ]]; then
|
||||||
case $distro_shorthand in
|
case $distro_shorthand in
|
||||||
|
|||||||
Reference in New Issue
Block a user