diff options
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/login.postinst | 4 | ||||
-rw-r--r-- | debian/passwd.postinst | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index af23b671..89268745 100644 --- a/debian/changelog +++ b/debian/changelog @@ -54,6 +54,7 @@ shadow (1:4.2-1) UNRELEASED; urgency=low [ Christian Perrier ] * Bump Standards to 3.9.5 (checked) + * Use 'set -e' in postinst scripts and not in thei shebang line -- Christian Perrier <bubulle@debian.org> Sat, 27 Jul 2013 20:07:18 +0200 diff --git a/debian/login.postinst b/debian/login.postinst index 39aa57c0..1f6da1e3 100644 --- a/debian/login.postinst +++ b/debian/login.postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e if test "$1" = configure then diff --git a/debian/passwd.postinst b/debian/passwd.postinst index d48966e5..691733e8 100644 --- a/debian/passwd.postinst +++ b/debian/passwd.postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e case "$1" in configure) |