diff options
author | Andrej Kacian <ticho@gentoo.org> | 2007-05-31 20:05:55 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2007-05-31 20:05:55 +0000 |
commit | 1d0f0022dccfa8778c2f506f977942923b1b964c (patch) | |
tree | f7bf744a37898263347f6b45ec7b742019224583 /media-sound | |
parent | Marked stable on amd64 for bug #176712 (diff) | |
download | gentoo-2-1d0f0022dccfa8778c2f506f977942923b1b964c.tar.gz gentoo-2-1d0f0022dccfa8778c2f506f977942923b1b964c.tar.bz2 gentoo-2-1d0f0022dccfa8778c2f506f977942923b1b964c.zip |
Move enewuser call back to pkg_setup().
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mpd/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/mpd/mpd-0.13.0.ebuild | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index f46fb0c346d8..6cf335112035 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/mpd # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.98 2007/05/28 21:59:00 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.99 2007/05/31 20:05:55 ticho Exp $ + + 31 May 2007; Andrej Kacian <ticho@gentoo.org> mpd-0.13.0.ebuild: + Move enewuser call back to pkg_setup(). *mpd-0.13.0 (28 May 2007) diff --git a/media-sound/mpd/mpd-0.13.0.ebuild b/media-sound/mpd/mpd-0.13.0.ebuild index de540d335be3..a0b980aca010 100644 --- a/media-sound/mpd/mpd-0.13.0.ebuild +++ b/media-sound/mpd/mpd-0.13.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild,v 1.1 2007/05/28 21:59:00 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild,v 1.2 2007/05/31 20:05:55 ticho Exp $ inherit eutils @@ -39,6 +39,7 @@ pkg_setup() { die "Missing libOggFLAC library." fi + enewuser mpd "" "" "/var/lib/mpd" audio || die "problem adding user mpd" } src_unpack() { @@ -129,8 +130,6 @@ pkg_postinst() { elog "If you will be starting mpd via /etc/init.d/mpd initscript, please make" elog "sure that MPD's pid_file is set to /var/run/mpd/mpd.pid." - enewuser mpd "" "" "/var/lib/mpd" audio || die "problem adding user mpd" - # also change the homedir if the user has existed before usermod -d "/var/lib/mpd" mpd } |