[Pkg-mpd-commits] [SCM] Git repository for pkg-mpd branch, master, updated. debian/0.17.1-1-22-g38ab336
Florian Schlichting
fschlich at zedat.fu-berlin.de
Fri Feb 22 00:22:30 UTC 2013
The following commit has been merged in the master branch:
commit 842ea68777aa38aa55d0105fdc9a80162ddc2eac
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date: Fri Feb 22 00:46:50 2013 +0100
fix maintainer-script-without-set-e lintian warning
diff --git a/debian/mpd.postinst b/debian/mpd.postinst
index d341216..553e931 100644
--- a/debian/mpd.postinst
+++ b/debian/mpd.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
umask 0022
ACTION="$1"
diff --git a/debian/mpd.postrm b/debian/mpd.postrm
index 53136d7..480aa48 100644
--- a/debian/mpd.postrm
+++ b/debian/mpd.postrm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
if [ "$1" = "purge" ]; then
update-rc.d mpd remove defaults >/dev/null
diff --git a/debian/mpd.prerm b/debian/mpd.prerm
index 1bd3f3f..f6a6149 100644
--- a/debian/mpd.prerm
+++ b/debian/mpd.prerm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
do_mpd_stop () {
if [ -x /etc/init.d/mpd ]; then
--
Git repository for pkg-mpd
More information about the Pkg-mpd-commits
mailing list