[__runit] Add support for older Devuan systems

This commit is contained in:
evilham 2023-02-21 17:07:07 +01:00
parent c07487ea69
commit 239a1f20cf
Signed by: evilham
GPG Key ID: AE3EE30D970886BF
1 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,14 @@ os="$(cat "${__global}/explorer/os")"
case "${os}" in
debian|devuan)
# zero-config sysvinit and systemd compatibility
__package runit-run
os_version="$(cat "${__global}/explorer/os_version")"
debian_package="runit-run"
case "${os_version}" in
beowulf)
debian_package="runit"
;;
esac
__package "${debian_package}"
;;
freebsd)
__key_value \