[SCM] mpd-sima/master: Fixes a typo in init script

kaliko-guest at users.alioth.debian.org kaliko-guest at users.alioth.debian.org
Mon Aug 8 10:35:36 UTC 2011


The following commit has been merged in the master branch:
commit 82d975ba5859ef1a852fc6f62c197a9bd13867a3
Author: Geoffroy Youri Berret <efrim at azylum.org>
Date:   Mon Aug 8 12:29:59 2011 +0200

    Fixes a typo in init script
    
    Git-Dch: Ignore

diff --git a/debian/mpd-sima.init b/debian/mpd-sima.init
index f390dc8..947876d 100755
--- a/debian/mpd-sima.init
+++ b/debian/mpd-sima.init
@@ -65,10 +65,12 @@ do_start()
         log_action_msg "Not starting mpd-sima: disabled by /etc/default/$NAME".
         exit 0
     fi
+
+    # Controling presence of $PIDDIR
     PIDDIR=$(dirname "$PIDFILE")
     if [ ! -d "$PIDDIR" ]; then
         mkdir -m 0755 $PIDDIR
-        chown $USER:$USER $VARDIR
+        chown $USER:$USER $PIDDIR
     fi
 
     # Controling presence of $VARDIR

-- 
mpd-sima packaging



More information about the pkg-multimedia-commits mailing list