]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Removed dependecies for gnump3d
authorManiacikarus <maniacikarus@ipfire.org>
Tue, 6 Jan 2009 11:40:07 +0000 (12:40 +0100)
committerManiacikarus <maniacikarus@ipfire.org>
Tue, 6 Jan 2009 11:40:07 +0000 (12:40 +0100)
config/rootfiles/packages/gnump3d
lfs/gnump3d
src/paks/gnump3d/install.sh
src/paks/gnump3d/update.sh

index b161eaffe0be48a38681899f3e386638bcb89e1e..196d2bb967ed05ce46ead456bf3eff971e2f5969 100644 (file)
@@ -398,5 +398,4 @@ usr/share/gnump3d
 #usr/share/gnump3d/simple
 var/cache/gnump3d
 var/cache/gnump3d/serving
-var/mp3
 var/log/gnump3d
index 92b876ea0ea858b90a562f2874d6af61baa4e476..b3eb8439c162fc2c7fef2bb7c13467c7fe20f824 100644 (file)
@@ -32,9 +32,9 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = gnump3d
-PAK_VER    = 1
+PAK_VER    = 2
 
-DEPS       = "lame sox"
+DEPS       = ""
 
 ###############################################################################
 # Top-level Rules
index f8188c58e7ba155ec80ccb1a31994315e4dce8aa..745dfb7e20d27e28ef2af33e7b5f218cf66aae45 100644 (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
index 89c40d0d7c5d3dd57b5944f3af4977d5f8d76760..6e387001ff2019031eb0d65c16a3231f6d5e28d1 100644 (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