summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-09-10 10:47:13 +0000
committerPeter Volkov <pva@gentoo.org>2008-09-10 10:47:13 +0000
commitfba1c5ce69421a5691276a225820116d49ea70bb (patch)
tree2cbee1346fddf2933b0a34b38ec3da013cce2409 /net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild
parentenewuser/enewgroup die on their own. Also use pkg_setup for this functions. (diff)
downloadgentoo-2-fba1c5ce69421a5691276a225820116d49ea70bb.tar.gz
gentoo-2-fba1c5ce69421a5691276a225820116d49ea70bb.tar.bz2
gentoo-2-fba1c5ce69421a5691276a225820116d49ea70bb.zip
enewuser/enewgroup die on their own, no need to || die
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
Diffstat (limited to 'net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild')
-rw-r--r--net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild
index 550a7f9edf67..ea3f4bd1e422 100644
--- a/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild
+++ b/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild,v 1.3 2008/06/25 17:44:44 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild,v 1.4 2008/09/10 10:47:13 pva Exp $
inherit flag-o-matic toolchain-funcs eutils
@@ -68,8 +68,8 @@ src_compile() {
}
pkg_preinst() {
- enewgroup tcpdump || die "Failed to add group tcpdump"
- enewuser tcpdump -1 -1 -1 tcpdump || die "Failed to add user tcpdump"
+ enewgroup tcpdump
+ enewuser tcpdump -1 -1 -1 tcpdump
}
src_install() {