The following commit has been merged in the master branch:
commit e85d954e933db30e1e60800a7adcdfa615b80507
Author: James Vega <[email protected]>
Date:   Mon Apr 5 22:57:52 2010 -0400

    Use standalone "set -e" line in maintainer scripts.

diff --git a/debian/changelog b/debian/changelog
index c1a3db2..233b68b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -59,6 +59,7 @@ devscripts (2.10.62) UNRELEASED; urgency=low
     man page.  (Closes: #537367)
   * Add support for working with/recognizing xz archives to debchange,
     debdiff, debuild, uscan.
+  * Use standalone “set -e” lines in maintainer scripts.
 
   [ Patrick Schoenfeld ]
   * nmudiff: Fix "[nmudiff] please include --tagpending option" by applying the
diff --git a/debian/postinst b/debian/postinst
index 8773a20..b4cad25 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,5 @@
-#! /bin/sh -e
+#! /bin/sh
+set -e
 
 if [ "$1" = configure ]
 then
diff --git a/debian/postrm b/debian/postrm
index d0e1e92..cc5e5bc 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,4 +1,5 @@
-#! /bin/sh -e
+#! /bin/sh
+set -e
 
 if [ "$1" = purge ]
 then

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to