[Pkg-mpd-commits] [SCM] Git repository for pkg-mpd branch, master, updated. debian/0.16.1-1-19-g2e9c104

Alexander Wirt formorer at debian.org
Thu Mar 17 13:38:36 UTC 2011


The following commit has been merged in the master branch:
commit 2e9c104ef5839ac3e1ade755499fd9a1753a160d
Author: Alexander Wirt <formorer at debian.org>
Date:   Thu Mar 17 14:35:57 2011 +0100

    --create-db is deprecated - removed from initscript

diff --git a/debian/mpd.init.d b/debian/mpd.init.d
index 842cc4a..776f7ea 100644
--- a/debian/mpd.init.d
+++ b/debian/mpd.init.d
@@ -68,11 +68,6 @@ mpd_start () {
         chown mpd:audio $PIDDIR
     fi
 
-    if [ "$FORCE_CREATE_DB" -o ! -f "$DBFILE" ]; then
-        log_warning_msg "creating $DBFILE... "
-        $DAEMON --create-db "$MPDCONF" > /dev/null 2>&1
-    fi
-
     start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" \
         --exec "$DAEMON" -- $MPD_OPTS "$MPDCONF"
     log_end_msg $?
@@ -112,17 +107,14 @@ case "$1" in
         mpd_stop
         mpd_start
         ;;
-    force-start|start-create-db)
-        FORCE_CREATE_DB=1
+    force-start)
         mpd_start
         ;;
     force-restart)
-        FORCE_CREATE_DB=1
         mpd_stop
         mpd_start
         ;;
     force-reload)
-    	FORCE_CREATE_DB=1
 	mpd_stop
 	mpd_start
 	;;

-- 
Git repository for pkg-mpd



More information about the Pkg-mpd-commits mailing list