[Pkg-mpd-commits] [pkg-mpd] 05/05: override lintian warning about lacking set -e in preinst

Florian Schlichting fsfs at moszumanska.debian.org
Sun Mar 2 22:41:25 UTC 2014


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

fsfs pushed a commit to branch master
in repository pkg-mpd.

commit d5aec07cbb53f409491c2b6661cb747c5fbaa861
Author: Florian Schlichting <fsfs at debian.org>
Date:   Sun Mar 2 23:23:55 2014 +0100

    override lintian warning about lacking set -e in preinst
---
 debian/changelog             | 2 +-
 debian/mpd.lintian-overrides | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b5729c7..c2e5a49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
 mpd (0.18.9-1) unstable; urgency=medium
 
   * Import Upstream version 0.18.9
-  * Don't set -e in preinst
+  * Don't fail in preinst
 
  -- Florian Schlichting <fsfs at debian.org>  Sun, 02 Mar 2014 23:07:08 +0100
 
diff --git a/debian/mpd.lintian-overrides b/debian/mpd.lintian-overrides
index 6694f3b..2db8669 100644
--- a/debian/mpd.lintian-overrides
+++ b/debian/mpd.lintian-overrides
@@ -1,2 +1,4 @@
 # update-rc.d is only called on upgrade, which is not forbidden and actually makes sense here
 preinst-calls-updaterc.d mpd
+# not setting -e on purpose
+maintainer-script-ignores-errors preinst

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



More information about the Pkg-mpd-commits mailing list