[Pkg-mpd-commits] [pkg-mpd] 07/13: remove db_file check in init script, as mpd can use a remote db now (closes: #775695 - thanks Leandro Noferini!)
Florian Schlichting
fsfs at moszumanska.debian.org
Sat Mar 21 00:29:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository pkg-mpd.
commit bf3264c99d8e7029cf82882d28dac09baf98e305
Author: Florian Schlichting <fsfs at debian.org>
Date: Mon Mar 9 22:54:16 2015 +0100
remove db_file check in init script, as mpd can use a remote db now (closes: #775695 - thanks Leandro Noferini!)
---
debian/mpd.init.d | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/mpd.init.d b/debian/mpd.init.d
index ca18bd6..ecef973 100644
--- a/debian/mpd.init.d
+++ b/debian/mpd.init.d
@@ -32,15 +32,14 @@ if [ -n "$MPD_DEBUG" ]; then
MPD_OPTS=--verbose
fi
-DBFILE=$(sed -n 's/^[[:space:]]*db_file[[:space:]]*"\?\([^"]*\)\"\?/\1/p' $MPDCONF)
PIDFILE=$(sed -n 's/^[[:space:]]*pid_file[[:space:]]*"\?\([^"]*\)\"\?/\1/p' $MPDCONF)
mpd_start () {
log_daemon_msg "Starting $DESC" "$NAME"
- if [ -z "$PIDFILE" -o -z "$DBFILE" ]; then
+ if [ -z "$PIDFILE" ]; then
log_failure_msg \
- "$MPDCONF must have db_file and pid_file set; cannot start daemon."
+ "$MPDCONF must have pid_file set; cannot start daemon."
exit 1
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