diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-18 07:37:40 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-18 07:37:40 +0000 |
commit | d9ef852300e4c387717425c0f2160e7943447e1d (patch) | |
tree | ca1d557ed789f1c7676c65e3a49f71820c13c397 /net-p2p | |
parent | initial import by Justin Whitney <ripple@ripple.be> in bug #44090 (Manifest r... (diff) | |
download | gentoo-2-d9ef852300e4c387717425c0f2160e7943447e1d.tar.gz gentoo-2-d9ef852300e4c387717425c0f2160e7943447e1d.tar.bz2 gentoo-2-d9ef852300e4c387717425c0f2160e7943447e1d.zip |
updated init script for small fix. See bug #44563
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/mldonkey/ChangeLog | 6 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/mldonkey | 2 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/mldonkey.initd | 2 |
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 |