Removed dependecies for gnump3d

This commit is contained in:
Maniacikarus
2009-01-06 12:40:07 +01:00
parent 4b6a2b7f88
commit 6f2bc878d7
4 changed files with 7 additions and 3 deletions

View File

@@ -23,6 +23,7 @@
#
. /opt/pakfire/lib/functions.sh
extract_files
[ -d /var/mp3 ] || ( mkdir /var/mp3 && chown nobody.nobody /var/mp3 )
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

View File

@@ -22,5 +22,9 @@
############################################################################
#
. /opt/pakfire/lib/functions.sh
#Remove userdate from rootfile
cat /opt/pakfire/db/rootfiles/gnump3d | \
grep -v "var/mp3" > /opt/pakfire/db/rootfiles/gnump3d.tmp
mv /opt/pakfire/db/rootfiles/gnump3d.tmp /opt/pakfire/db/rootfiles/gnump3d
./uninstall.sh
./install.sh