]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
started creation of the first update
authormaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 12 Nov 2007 17:50:31 +0000 (17:50 +0000)
committermaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 12 Nov 2007 17:50:31 +0000 (17:50 +0000)
changed release of samba and mpfire
fixed pakfire uninstall problem

git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1078 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/rootfiles/core/1/files [new file with mode: 0644]
config/rootfiles/core/1/meta [new file with mode: 0644]
config/rootfiles/core/1/update.sh [new file with mode: 0644]
lfs/mpfire
lfs/samba
src/pakfire/lib/functions.sh

diff --git a/config/rootfiles/core/1/files b/config/rootfiles/core/1/files
new file mode 100644 (file)
index 0000000..019824f
--- /dev/null
@@ -0,0 +1,3 @@
+var/ipfire/langs
+srv/web/ipfire/cgi-bin/qos.cgi
+opt/pakfire/lib/functions.sh
diff --git a/config/rootfiles/core/1/meta b/config/rootfiles/core/1/meta
new file mode 100644 (file)
index 0000000..d547fa8
--- /dev/null
@@ -0,0 +1 @@
+DEPS=""
diff --git a/config/rootfiles/core/1/update.sh b/config/rootfiles/core/1/update.sh
new file mode 100644 (file)
index 0000000..988c9e2
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+. /opt/pakfire/lib/functions.sh
+
+extract_files
+
+reload_all
index 2d878d188fb668d592b3c4430713e1d3ff6914e8..316b8acd61a702113fc428ca2fc68bb01d0ef92c 100644 (file)
@@ -30,7 +30,7 @@ THISAPP    = mpfire-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpfire
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = "mpd mpc alsa libshout libogg libmad libid3tag libvorbis"
 
index 07aa53036f7f79e22b9e5d136fa39c7c4ba5a614..2639fed9fe110fd1403961ba7df752af3a7213fc 100644 (file)
--- a/lfs/samba
+++ b/lfs/samba
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = samba
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = "cups cyrus-sasl"
 
index 8a5a3220dd9247976e580324b45468605a2f44c4..21aaee22a4ffee963f854f16634c53cb756a09c8 100644 (file)
@@ -31,7 +31,7 @@ extract_files() {
 remove_files() {
        echo "Removing files..."
        for i in $(cat /opt/pakfire/tmp/ROOTFILES); do
-               rm -rfv ${i}
+       rm -rfv /${i}
        done
        echo "...Finished."
 }
@@ -75,10 +75,10 @@ start_service() {
                                ;;
                        *)
                                break
-                               ;;                      
+                               ;;
                esac
        done
-               
+
        if [ -e "/etc/init.d/${1}" ]; then
            if [ -n "${BACKGROUND}" ]; then
                                (sleep ${DELAY} && /etc/init.d/${1} start) &