Use 'set -e' in postinst scripts and not in thei shebang line

This commit is contained in:
Christian Perrier
2014-04-18 08:27:30 +02:00
parent c84a3fd5f8
commit 1f40da3a5f
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -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
+3 -1
View File
@@ -1,4 +1,6 @@
#!/bin/sh -e
#!/bin/sh
set -e
if test "$1" = configure
then
+3 -1
View File
@@ -1,4 +1,6 @@
#!/bin/sh -e
#!/bin/sh
set -e
case "$1" in
configure)