diff --git a/pkg/postinst b/pkg/postinst index c1c44c2..a41eff5 100644 --- a/pkg/postinst +++ b/pkg/postinst @@ -2,6 +2,8 @@ set -e -systemctl daemon-reload +if command -v systemctl >/dev/null 2>&1; then + systemctl daemon-reload +fi exit 0