From 7598935ed4cb67cee61d3002fe5c88022ebbf943 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 28 Apr 2012 11:25:43 +0200 Subject: [PATCH] Don't ignore errores in systemd-sysv postinst and add a missing #DEBHELPER# stanza. --- debian/systemd-sysv.postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/systemd-sysv.postinst b/debian/systemd-sysv.postinst index 4930d618..d7585848 100644 --- a/debian/systemd-sysv.postinst +++ b/debian/systemd-sysv.postinst @@ -1,5 +1,7 @@ #!/bin/sh +set -e + # We are installing systemd-sysv but systemd is not running. # This most likely means we are upgrading from another init, possibly a newer # sysvinit version which created the initctl socket at /run/initctl. @@ -10,3 +12,5 @@ if [ ! -e /sys/fs/cgroup/systemd ] ; then ln -sf /run/initctl /dev/initctl fi fi + +#DEBHELPER# -- 2.39.5