Cache directory has been moved to /media/music
[infodrom/musiikki-web.git] / install-system
index c41efd3..448a3b8 100755 (executable)
@@ -423,7 +423,8 @@ assert_minidlna()
        echo "media_dir=V,/media/music/video" >>  /etc/minidlna.conf
     fi
 
-    chmod o+rx /var/cache/minidlna
+    test -d /media/music/cache || install -d -m 755 /media/music/cache
+    chown -R minidlna:minidlna /media/music/cache
 }
 
 assert_lighttpd()