summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-01-15 09:43:15 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-01-15 09:43:15 +0000
commitdd9fa6d0bd3afc8e681a0fef09a1f0d09028ded7 (patch)
tree23430b6c7f1f167abf5385419ba62c0c85c78027 /net-p2p/deluge/files
parentInitial import (diff)
downloadhistorical-dd9fa6d0bd3afc8e681a0fef09a1f0d09028ded7.tar.gz
historical-dd9fa6d0bd3afc8e681a0fef09a1f0d09028ded7.tar.bz2
historical-dd9fa6d0bd3afc8e681a0fef09a1f0d09028ded7.zip
Revbump so users get the fix on the init script, bug #254995, thanks to Matt Farmer <matt at mattfarmer dot net> for the fix
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64 RepoMan-Options: --force
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r--net-p2p/deluge/files/deluged.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init
index 5ec69058ece4..85984257ae05 100644
--- a/net-p2p/deluge/files/deluged.init
+++ b/net-p2p/deluge/files/deluged.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.3 2008/12/28 12:00:27 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.4 2009/01/15 09:43:15 armin76 Exp $
depend() {
need net
@@ -33,7 +33,7 @@ checkconfig() {
start() {
checkconfig || return $?
- DELUGED_USER_HOME=`getent passwd | grep $( echo "${DELUGED_USER}" | cut -d ':' -f 1 ) | cut -d ':' -f 6`
+ DELUGED_USER_HOME=`getent passwd | grep ^$( echo "${DELUGED_USER}" | cut -d ':' -f 1 ): | cut -d ':' -f 6`
ebegin "Starting Deluged"
start-stop-daemon --start --user "${DELUGED_USER}" \
--name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \