[Pkg-jed-commit] [SCM] Debian packaging of JED branch, master, updated. 1%3A0.99.18+dfsg.1-10-291-ga668a94

Jörg Sommer joerg at alea.gnuu.de
Sat Nov 28 23:10:49 UTC 2009


The following commit has been merged in the master branch:
commit 2192217c99183fd8078a62f143fbadb8d70966fb
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date:   Sat Nov 21 20:49:03 2009 +0100

    Use set -e instead of -e in the shebang in some package scripts
    
    The shebang (the first line of the script) is not evaluated by all
    shells. Once the script is run by calling sh directly (“sh $script”), the
    option may be lost. Therefore, the option should be turned on by the set
    function, because it's an command of the script and therefore surely
    executed.
    
    Refer to the lintian warning maintainer-script-without-set-e or Debian
    Policy Manual section 10.4.

diff --git a/debian/jed-common.postinst b/debian/jed-common.postinst
index cee4a29..415dbde 100644
--- a/debian/jed-common.postinst
+++ b/debian/jed-common.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 . /usr/share/debconf/confmodule
 
diff --git a/debian/jed-common.postrm b/debian/jed-common.postrm
index ad34348..ec383fe 100644
--- a/debian/jed-common.postrm
+++ b/debian/jed-common.postrm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 if [ -d /etc/jed-init.d ]; then
   rmdir --ignore-fail-on-non-empty /etc/jed-init.d
diff --git a/debian/jed.postinst b/debian/jed.postinst
index d000d19..96bb2f9 100644
--- a/debian/jed.postinst
+++ b/debian/jed.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 case "$1" in
   configure)
diff --git a/debian/xjed.postinst b/debian/xjed.postinst
index 9c9a845..2648220 100644
--- a/debian/xjed.postinst
+++ b/debian/xjed.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 case "$1" in
   configure)

-- 
Debian packaging of JED



More information about the Pkg-jed-commit mailing list