summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2005-06-24 22:42:19 +0000
committerAron Griffis <agriffis@gentoo.org>2005-06-24 22:42:19 +0000
commit28df446e2c94b431927ad94296991f792dd9f975 (patch)
tree0fa7662e2a177fd77d185e81d42276a9971f89d6 /net-mail/perdition
parentUse $IMAGE instead of $D in pkg_*. Don't call fowners in pkg_*, use chown (diff)
downloadgentoo-2-28df446e2c94b431927ad94296991f792dd9f975.tar.gz
gentoo-2-28df446e2c94b431927ad94296991f792dd9f975.tar.bz2
gentoo-2-28df446e2c94b431927ad94296991f792dd9f975.zip
Move keepdir from pkg_preinst to src_install where it belongs. Use chown and
$IMAGE instead of fowners in pkg_preinst (Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-mail/perdition')
-rw-r--r--net-mail/perdition/ChangeLog6
-rw-r--r--net-mail/perdition/perdition-1.15.ebuild8
2 files changed, 9 insertions, 5 deletions
diff --git a/net-mail/perdition/ChangeLog b/net-mail/perdition/ChangeLog
index 5ce0813ae022..c2011d684ee4 100644
--- a/net-mail/perdition/ChangeLog
+++ b/net-mail/perdition/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/perdition
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/perdition/ChangeLog,v 1.1 2005/01/25 18:07:46 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/perdition/ChangeLog,v 1.2 2005/06/24 22:42:19 agriffis Exp $
+
+ 24 Jun 2005; Aron Griffis <agriffis@gentoo.org> perdition-1.15.ebuild:
+ Move keepdir from pkg_preinst to src_install where it belongs. Use chown and
+ $IMAGE instead of fowners in pkg_preinst
*perdition-1.15 (25 Jan 2005)
diff --git a/net-mail/perdition/perdition-1.15.ebuild b/net-mail/perdition/perdition-1.15.ebuild
index 799d074997e5..e33fe4f1acd0 100644
--- a/net-mail/perdition/perdition-1.15.ebuild
+++ b/net-mail/perdition/perdition-1.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/perdition/perdition-1.15.ebuild,v 1.1 2005/01/25 18:07:46 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/perdition/perdition-1.15.ebuild,v 1.2 2005/06/24 22:42:19 agriffis Exp $
inherit eutils
@@ -49,12 +49,12 @@ src_install() {
newinitd "${FILESDIR}/perdition.initd" perdition
insinto /etc/conf.d; newins "${FILESDIR}/perdition.confd" perdition
+
+ keepdir /var/run/perdition
}
pkg_preinst() {
einfo "Checking for user perdition, creating if missing"
enewuser perdition
-
- keepdir /var/run/perdition
- fowners perdition /var/run/perdition
+ chown perdition ${IMAGE}/var/run/perdition
}