distro: fix trueos detection

This commit is contained in:
Dawid Dziurla 2017-11-19 16:49:49 +01:00
parent 4fd2287582
commit 63df9687db
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ get_distro() {
# Workarounds for FreeBSD based distros.
[[ -f "/etc/pcbsd-lang" ]] && distro="PCBSD"
[[ -f "/etc/rc.conf.trueos" ]] && distro="TrueOS"
[[ -f "/etc/trueos-lang" ]] && distro="TrueOS"
# /etc/pacbsd-release is an empty file
[[ -f "/etc/pacbsd-release" ]] && distro="PacBSD"