]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Updated mldonkey to 2.6.9 and fixed some possible errors in initscript.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 29 Nov 2008 12:55:40 +0000 (13:55 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 29 Nov 2008 12:55:40 +0000 (13:55 +0100)
lfs/mldonkey
src/initscripts/init.d/mldonkey

index 1d22f404abca648021db1965bac67026e75ca300..868a6aa617a48c71256569b45344efe48b7c30bb 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.9.2
+VER        = 2.9.6
 
 THISAPP    = mldonkey-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mldonkey
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = ""
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 457564a0baedabe262254de660420c1c
+$(DL_FILE)_MD5 = 5da87678449bf87ce0c78f37e7871eb9
 
 install : $(TARGET)
 
index ef0918ac4763c0c7fcecca4b0b33116b0615a310..aee02a083eee99da2c339aab2781aec57024e606 100644 (file)
@@ -18,6 +18,8 @@
 case "${1}" in
        start)
                boot_mesg "Starting mldonkey..."
+               chown mldonkey.mldonkey /opt/mldonkey -R &>/dev/null
+               rm -f /opt/mldonkey/.mldonkey/*tmp* 2>/dev/null
                HOME=/opt/mldonkey /opt/mldonkey/mlnet >/dev/null 2>&1 &
                evaluate_retval
                ;;