syntax
This commit is contained in:
@@ -1094,9 +1094,9 @@ get_distro() {
|
|||||||
distro=${distro/DragonFly/DragonFlyBSD}
|
distro=${distro/DragonFly/DragonFlyBSD}
|
||||||
|
|
||||||
# Workarounds for some BSD based distros.
|
# Workarounds for some BSD based distros.
|
||||||
|
[[ -f /etc/os-release ]] && distro=Enso
|
||||||
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
|
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
|
||||||
[[ -f /etc/trueos-lang ]] && distro=TrueOS
|
[[ -f /etc/trueos-lang ]] && distro=TrueOS
|
||||||
[[ -f /etc/os-release ]] && distro=Enso
|
|
||||||
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
|
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
|
||||||
[[ -f /etc/hbsd-update.conf ]] && distro=HardenedBSD
|
[[ -f /etc/hbsd-update.conf ]] && distro=HardenedBSD
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user