[Pkg-running-devel] [SCM] Debian package for pytrainer branch, master, updated. debian/1.9.1-1-17-gbd59849

Christian Perrier bubulle at debian.org
Mon Apr 8 15:05:20 UTC 2013


The following commit has been merged in the master branch:
commit 4eb190e25ebdd0a2af05755125bd5c78369fd5ea
Author: Christian Perrier <bubulle at debian.org>
Date:   Mon Apr 8 16:27:54 2013 +0200

    Use "set -e" in postinst and postrm instead of passing it to the shebang line.

diff --git a/debian/changelog b/debian/changelog
index 56fdd05..9ef5f01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,8 @@ pytrainer (1.10.1-1) UNRELEASED; urgency=low
     - Import .fit files. Closes: #636128
   * Drop no longer needed 03_fix-manpage-synopsis.patch
   * Update Standards to 3.9.4 (checked).
-  * Use "set -x" in postinst instead of passing it to the shebang
-    line.
+  * Use "set -e" in postinst and postrm instead of passing it to the
+    shebang line.
   * provide a pytr(7) manpage as we're using a wrapper and rename
     the binary.
 
diff --git a/debian/postrm b/debian/postrm
index 6cf8b6a..e1b6294 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,6 +1,8 @@
-#!/bin/sh -e
-# 
+#!/bin/sh
+set -e
+
 #DEBHELPER#
+
 case "$1" in
         configure)
                 if test -x /usr/bin/update-menus; then update-menus; fi

-- 
Debian package for pytrainer



More information about the Pkg-running-devel mailing list