summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey/ChangeLog6
-rw-r--r--net-p2p/mldonkey/files/mldonkey2
-rw-r--r--net-p2p/mldonkey/files/mldonkey.initd2
3 files changed, 8 insertions, 2 deletions
diff --git a/net-p2p/mldonkey/ChangeLog b/net-p2p/mldonkey/ChangeLog
index b31fcbef7b6b..61d93efd5a42 100644
--- a/net-p2p/mldonkey/ChangeLog
+++ b/net-p2p/mldonkey/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/mldonkey
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.32 2004/03/12 12:18:29 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.33 2004/03/18 07:37:40 eradicator Exp $
+
+ 17 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> files/mldonkey,
+ files/mldonkey.initd:
+ updated init script for small fix. See bug #44563
12 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
mldonkey-2.5.11.ebuild, mldonkey-2.5.12.ebuild, mldonkey-2.5.16.ebuild:
diff --git a/net-p2p/mldonkey/files/mldonkey b/net-p2p/mldonkey/files/mldonkey
index b613ca476727..6a407cd64679 100644
--- a/net-p2p/mldonkey/files/mldonkey
+++ b/net-p2p/mldonkey/files/mldonkey
@@ -1,5 +1,7 @@
#!/bin/sh
+. /etc/conf.d/mldonkey
+
if [ ! -d ${HOME}/.mldonkey ] ; then
echo "Creating subdirectory \".mldonkey\" in your home"
echo "to store config files and downloaded files..."
diff --git a/net-p2p/mldonkey/files/mldonkey.initd b/net-p2p/mldonkey/files/mldonkey.initd
index 692363a54470..ca17ca9654c2 100644
--- a/net-p2p/mldonkey/files/mldonkey.initd
+++ b/net-p2p/mldonkey/files/mldonkey.initd
@@ -20,7 +20,7 @@ start() {
einfo "...ok!"
fi
cd ${BASEDIR}/${SUBDIR}/
- env HOME=/home/${USER} start-stop-daemon --quiet --start -c ${USER} \
+ env HOME=${BASEDIR} start-stop-daemon --quiet --start -c ${USER} \
-x /usr/bin/mlnet &>${LOG} &
sleep 5
if ! pgrep -u ${USER} mlnet >/dev/null