diff options
author | Peter Volkov <pva@gentoo.org> | 2008-09-10 10:31:12 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-09-10 10:31:12 +0000 |
commit | b0dc56ec1f89c6602a3a345844634d5a173993ba (patch) | |
tree | d4aac804f62e9f3aeb76d64bdf397b9c43d694ef /net-dialup | |
parent | ia64/x86 stable wrt #224413 (diff) | |
download | gentoo-2-b0dc56ec1f89c6602a3a345844634d5a173993ba.tar.gz gentoo-2-b0dc56ec1f89c6602a3a345844634d5a173993ba.tar.bz2 gentoo-2-b0dc56ec1f89c6602a3a345844634d5a173993ba.zip |
enewuser/enewgroup die on their own. Also use pkg_setup for this functions.
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/ivam2/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/ivam2/ivam2-0.3-r1.ebuild | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/net-dialup/ivam2/ChangeLog b/net-dialup/ivam2/ChangeLog index 97d90b92e4d0..0e098cae5ec5 100644 --- a/net-dialup/ivam2/ChangeLog +++ b/net-dialup/ivam2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/ivam2 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/ChangeLog,v 1.7 2006/03/12 14:16:39 mrness Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/ChangeLog,v 1.8 2008/09/10 10:31:12 pva Exp $ + + 10 Sep 2008; Peter Volkov <pva@gentoo.org> ivam2-0.3-r1.ebuild: + enewuser/enewgroup die on their own. Also use pkg_setup for this + functions. 12 Mar 2006; Alin Nastac <mrness@gentoo.org> -ivam2-0.3.ebuild, ivam2-0.3-r1.ebuild: diff --git a/net-dialup/ivam2/ivam2-0.3-r1.ebuild b/net-dialup/ivam2/ivam2-0.3-r1.ebuild index fc29e7d47f50..f580b7c1fc2b 100644 --- a/net-dialup/ivam2/ivam2-0.3-r1.ebuild +++ b/net-dialup/ivam2/ivam2-0.3-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/ivam2-0.3-r1.ebuild,v 1.5 2006/03/12 14:16:39 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/ivam2-0.3-r1.ebuild,v 1.6 2008/09/10 10:31:12 pva Exp $ inherit eutils @@ -42,9 +42,9 @@ src_install() { newinitd "${FILESDIR}/ivam2.init" ivam2 } -pkg_preinst() { - enewgroup ivam || die "Problem adding ivam group" - enewuser ivam -1 -1 /dev/null ivam || die "Problem adding ivam user" +pkg_setup() { + enewgroup ivam + enewuser ivam -1 -1 /dev/null ivam } pkg_postinst() { |