gnump3d: add full path to gnumpd3d-index at gnump3d install.
[people/pmueller/ipfire-2.x.git] / src / paks / gnump3d / install.sh
index f8188c5..1e0f3cb 100644 (file)
@@ -23,6 +23,8 @@
 #
 . /opt/pakfire/lib/functions.sh
 extract_files
 #
 . /opt/pakfire/lib/functions.sh
 extract_files
+[ -d /var/mp3 ] ||  ( mkdir /var/mp3 && chown nobody.nobody /var/mp3 )
+/usr/bin/gnump3d-index &
 start_service ${NAME}
 ln -svf  ../init.d/gnump3d /etc/rc.d/rc0.d/K00gnump3d
 ln -svf  ../init.d/gnump3d /etc/rc.d/rc3.d/S99gnump3d
 start_service ${NAME}
 ln -svf  ../init.d/gnump3d /etc/rc.d/rc0.d/K00gnump3d
 ln -svf  ../init.d/gnump3d /etc/rc.d/rc3.d/S99gnump3d