[Pkg-shadow-devel] [shadow] 03/06: Use 'set -e' in postinst scripts and not in thei shebang line

Christian Perrier bubulle at moszumanska.debian.org
Tue Apr 22 07:25:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

bubulle pushed a commit to branch master
in repository shadow.

commit 1f40da3a5f8db5c15f526789bd7c53921521b69a
Author: Christian Perrier <bubulle at debian.org>
Date:   Fri Apr 18 08:27:30 2014 +0200

    Use 'set -e' in postinst scripts and not in thei shebang line
---
 debian/changelog       | 1 +
 debian/login.postinst  | 4 +++-
 debian/passwd.postinst | 4 +++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index af23b67..8926874 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 at debian.org>  Sat, 27 Jul 2013 20:07:18 +0200
 
diff --git a/debian/login.postinst b/debian/login.postinst
index 39aa57c..1f6da1e 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 d48966e..691733e 100644
--- a/debian/passwd.postinst
+++ b/debian/passwd.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 case "$1" in
 configure)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shadow/shadow.git



More information about the Pkg-shadow-devel mailing list