Fix error in determin systemd support for debian 13 and newer.

This commit is contained in:
2025-12-15 18:05:14 +01:00
parent 09b9273a8d
commit 4ae3118aa8
25 changed files with 124 additions and 78 deletions

View File

@@ -301,9 +301,11 @@ IFS=$CUR_IFS
# - Support systemd ?
# -
if [[ "X$(which systemd)" = "X" ]]; then
SYSTEMD_EXISTS=false
else
SYSTEMD_EXISTS=false
systemd=$(which systemd)
systemctl=$(which systemctl)
if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then
SYSTEMD_EXISTS=true
fi