diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2013-07-24 22:38:19 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-07-24 22:38:19 +0200 |
commit | 6b8d1d216c9c9d41268786d426954fc249546e38 (patch) | |
tree | bf88e4816fa9342c16ebdba15d08e318511f5bb5 | |
parent | d38528254a4e0823312073a8290b441e91300774 (diff) | |
download | init-system-helpers-6b8d1d216c9c9d41268786d426954fc249546e38.tar.gz |
autoscripts: use --quiet for was-enabled
-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 |