]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/mpfire
MPFire: Split page into three subpages.
[people/pmueller/ipfire-2.x.git] / lfs / mpfire
index 4403121051f9901ab1641cb3ab4643cdbf9fe0ed..1a1575cf3f21257062af2b08cba109e5be4d0f4d 100644 (file)
@@ -30,7 +30,7 @@ THISAPP    = mpfire-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpfire
-PAK_VER    = 6
+PAK_VER    = 9
 
 DEPS       = "mpd mpc"
 
@@ -62,10 +62,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        install -v -m 755 $(DIR_SRC)/config/mpfire/mpfire.pl /var/ipfire/mpfire/bin
        install -v -m 664 $(DIR_SRC)/config/mpfire/mpd.conf /var/ipfire/mpfire/
        install -v -m 644 $(DIR_SRC)/config/mpfire/webradio /var/ipfire/mpfire/
-       install -v -m 644 $(DIR_SRC)/config/mpfire/mpd.db /var/ipfire/mpfire/db/mpd.db
+       echo "Folder for mpd database" > /var/ipfire/mpfire/db/info
+       -mkdir -p /var/mp3
+       echo "Folder for music files" > /var/mp3/info
        chown root.nobody /var/ipfire/mpfire/{mpd.conf,playlist.m3u}
        chown nobody.nobody /var/ipfire/mpfire/{settings,webradio}
-       chown root.nobody /var/ipfire/mpfire/db/mpd.db
        chmod 664 /var/ipfire/mpfire/playlist.m3u
        chmod 755 /srv/web/ipfire/html/images/mpfire
        install -v -m 644 $(DIR_SRC)/config/backup/includes/mpfire /var/ipfire/backup/addons/includes/mpfire