From: Michael Biebl Date: Sat, 28 Apr 2012 09:25:43 +0000 (+0200) Subject: Don't ignore errores in systemd-sysv postinst X-Git-Tag: 44-2~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7598935ed4cb67cee61d3002fe5c88022ebbf943;p=systemd Don't ignore errores in systemd-sysv postinst and add a missing #DEBHELPER# stanza. --- 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#