Ticket #7499: mpd.patch

File mpd.patch, 365 bytes (added by anonymous, 8 years ago)
  • /

    old new  
    44 
    55start() { 
    66 #create mpd directories 
    7  pld=`grep playlist_directory /etc/mpd.conf | cut -d "\"" -f 2 | sed "s/~/\/root/g"` 
     7 pld=`grep ^playlist_directory /etc/mpd.conf | cut -d "\"" -f 2 | sed "s/~/\/root/g"` 
    88 if [ ! -d $pld ]; then 
    99   mkdir -p $pld 
    1010 fi