summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Perrier <bubulle@debian.org>2014-04-18 08:27:30 +0200
committerChristian Perrier <bubulle@debian.org>2014-04-18 08:27:30 +0200
commit1f40da3a5f8db5c15f526789bd7c53921521b69a (patch)
treee68326830f26a23ed7431a2301391ced941af17c
parentc84a3fd5f8fa2d6bac684e904d01e0eb57270efc (diff)
downloadshadow-1f40da3a5f8db5c15f526789bd7c53921521b69a.tar.gz
Use 'set -e' in postinst scripts and not in thei shebang line
-rw-r--r--debian/changelog1
-rw-r--r--debian/login.postinst4
-rw-r--r--debian/passwd.postinst4
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)