Unverified Commit f8c2bc25 authored by Herdiansyah's avatar Herdiansyah Committed by GitHub

Merge pull request #869 from dawidd6/trueos

distro: fix trueos detection
parents bb4bc945 63df9687
...@@ -153,7 +153,7 @@ get_distro() { ...@@ -153,7 +153,7 @@ get_distro() {
# Workarounds for FreeBSD based distros. # Workarounds for FreeBSD based distros.
[[ -f "/etc/pcbsd-lang" ]] && distro="PCBSD" [[ -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 # /etc/pacbsd-release is an empty file
[[ -f "/etc/pacbsd-release" ]] && distro="PacBSD" [[ -f "/etc/pacbsd-release" ]] && distro="PacBSD"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment