[med-svn] [dcmtk] 03/04: d/dcmtk.preinst: 'set -e' in the script instead of the shebang, fixes lintian's maintainer-script-without-set-e

Mattia Rizzolo mattia at debian.org
Sun May 8 22:46:10 UTC 2016


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

mattia pushed a commit to branch master
in repository dcmtk.

commit 2516c741228b268ab859963ae03b48222cd94c95
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun May 8 22:31:54 2016 +0000

    d/dcmtk.preinst: 'set -e' in the script instead of the shebang, fixes lintian's maintainer-script-without-set-e
---
 debian/changelog     | 2 ++
 debian/dcmtk.preinst | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a931642..83d02a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ dcmtk (3.6.1~20160216-1) UNRELEASED; urgency=medium
   [ Mattia Rizzolo ]
   * d/control: Use secure URIs (https) in Vcs-Git.
   * d/libdcmtk5.dirs: removed as useless.
+  * d/dcmtk.preinst: 'set -e' in the script instead of the shebang,
+    fixes lintian's maintainer-script-without-set-e
 
  -- Gert Wollny <gw.fossdev at gmail.com>  Sat, 09 Apr 2016 12:23:46 +0000
 
diff --git a/debian/dcmtk.preinst b/debian/dcmtk.preinst
index a30dfc5..9f84376 100644
--- a/debian/dcmtk.preinst
+++ b/debian/dcmtk.preinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 # Prepare to handle imagectn -> dcmqrdb (3.5.3 -> 3.5.4) transition
 # without triggering a dpkg question

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



More information about the debian-med-commit mailing list