diff options
-rw-r--r-- | autoscripts/postinst-systemd-dont-enable | 2 | ||||
-rw-r--r-- | autoscripts/postinst-systemd-enable | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postinst-systemd-dont-enable b/autoscripts/postinst-systemd-dont-enable index 0915328..efc179f 100644 --- a/autoscripts/postinst-systemd-dont-enable +++ b/autoscripts/postinst-systemd-dont-enable @@ -1,5 +1,5 @@ if deb-systemd-helper debian-installed #UNITFILE#; then - if deb-systemd-helper was-enabled #UNITFILE#; then + if deb-systemd-helper --quiet was-enabled #UNITFILE#; then # Create new symlinks, if any. deb-systemd-helper enable #UNITFILE# >/dev/null || true fi diff --git a/autoscripts/postinst-systemd-enable b/autoscripts/postinst-systemd-enable index 859b7f4..b8f630a 100644 --- a/autoscripts/postinst-systemd-enable +++ b/autoscripts/postinst-systemd-enable @@ -1,5 +1,5 @@ # was-enabled defaults to true, so new installations run enable. -if deb-systemd-helper was-enabled #UNITFILE#; then +if deb-systemd-helper --quiet was-enabled #UNITFILE#; then # Enables the unit on first installation, creates new # symlinks on upgrades if the unit file has changed. deb-systemd-helper enable #UNITFILE# >/dev/null || true |