[Pkg-mpd-commits] [pkg-mpd] 03/12: mpd.postinst: remove check for deprecated option, obsolete after wheezy
Florian Schlichting
fsfs at moszumanska.debian.org
Sat Nov 23 21:03:44 UTC 2013
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository pkg-mpd.
commit cefe5d2eb2c828228fb3da79a3e7e4cf67035928
Author: Florian Schlichting <fsfs at debian.org>
Date: Thu Nov 21 23:21:54 2013 +0100
mpd.postinst: remove check for deprecated option, obsolete after wheezy
---
debian/mpd.postinst | 7 -------
1 file changed, 7 deletions(-)
diff --git a/debian/mpd.postinst b/debian/mpd.postinst
index 553e931..464544c 100644
--- a/debian/mpd.postinst
+++ b/debian/mpd.postinst
@@ -40,18 +40,11 @@ do_mpd_init () {
if [ -x /etc/init.d/mpd ]; then
# Start after ALSA/icecast/etc and stop before them
update-rc.d mpd defaults 30 14 >/dev/null
- # check for a deprecated option
- if [ -f /etc/mpd.conf ] && grep -q '^\s*error_file\s*=' /etc/mpd.conf
- then
- echo "Your configuration file contains the deprecated option error_file"
- echo "mpd won't start until you migrated your configuration"
- else
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d mpd "$@"
else
/etc/init.d/mpd "$@"
fi
- fi
fi
}
--
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