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
commit9a3bcb4819c3050098f1343872aae24e86457a32 (patch)
treeba9deeb56e5bd10ea074dc77fe45073b40dd314c /net-analyzer/tcpdump/tcpdump-3.9.8.ebuild
parentenewuser/enewgroup die on their own. Also use pkg_setup for this functions. (diff)
downloadhistorical-9a3bcb4819c3050098f1343872aae24e86457a32.tar.gz
historical-9a3bcb4819c3050098f1343872aae24e86457a32.tar.bz2
historical-9a3bcb4819c3050098f1343872aae24e86457a32.zip
enewuser/enewgroup die on their own, no need to || die
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686
Diffstat (limited to 'net-analyzer/tcpdump/tcpdump-3.9.8.ebuild')
-rw-r--r--net-analyzer/tcpdump/tcpdump-3.9.8.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild
index 1ecce31d7401..51208f80e47c 100644
--- a/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild
+++ b/net-analyzer/tcpdump/tcpdump-3.9.8.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.ebuild,v 1.7 2008/01/10 09:09:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild,v 1.8 2008/09/10 10:47:13 pva Exp $
inherit flag-o-matic toolchain-funcs eutils
@@ -64,8 +64,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() {