summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Biedl <debian.axhn@manchmal.in-ulm.de>2018-02-15 18:55:13 +0000
committerNiels Thykier <niels@thykier.net>2018-02-15 18:56:13 +0000
commit8ded5825603b626362a4f54e2e02cc91d3c4e03c (patch)
tree0c41640df4ce54abe1bf86adb1d361a1c9d1a1fc
parent09f9ec367aead12b46a5a05885cdd0d34a83451d (diff)
downloaddebhelper-8ded5825603b626362a4f54e2e02cc91d3c4e03c.tar.gz
autoscripts/postinst-systemd-restart: Fix indentation
Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r--autoscripts/postinst-systemd-restart4
-rw-r--r--debian/changelog2
2 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-systemd-restart b/autoscripts/postinst-systemd-restart
index a619055f..048e9685 100644
--- a/autoscripts/postinst-systemd-restart
+++ b/autoscripts/postinst-systemd-restart
@@ -1,6 +1,6 @@
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
- if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
+ if [ -d /run/systemd/system ]; then
+ systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=restart
else
diff --git a/debian/changelog b/debian/changelog
index e035e67c..6735b5fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ debhelper (11.1.5) UNRELEASED; urgency=medium
* dh_installman: Ditto.
* meson.pm: Apply patch from Jakub Wilk to fix typo in the name
of the "C.UTF-8" locale.
+ * autoscripts/postinst-systemd-restart: Apply patch from
+ Christoph Biedl to fix indentation. (Closes: #890373)
-- Niels Thykier <niels@thykier.net> Sun, 04 Feb 2018 18:03:34 +0000