summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2007-10-22 19:25:54 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2007-10-22 19:25:54 +0000
commit3ff59d6f49b3646c7563848890d1d58f4692d8a3 (patch)
treee4686d4ebec8d349e359662fcce99679772315bb /net-mail
parentVersion bumped. (diff)
downloadgentoo-2-3ff59d6f49b3646c7563848890d1d58f4692d8a3.tar.gz
gentoo-2-3ff59d6f49b3646c7563848890d1d58f4692d8a3.tar.bz2
gentoo-2-3ff59d6f49b3646c7563848890d1d58f4692d8a3.zip
Remove unnecessary pkg_preinst() and fix has_version usage, thanks to Donnie Berkholz
(Portage version: 2.1.3.15)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mailgraph/ChangeLog7
-rw-r--r--net-mail/mailgraph/mailgraph-1.14.ebuild8
2 files changed, 8 insertions, 7 deletions
diff --git a/net-mail/mailgraph/ChangeLog b/net-mail/mailgraph/ChangeLog
index 0072d9bfbafb..7951878ee2f8 100644
--- a/net-mail/mailgraph/ChangeLog
+++ b/net-mail/mailgraph/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.23 2007/10/22 18:24:57 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.24 2007/10/22 19:25:54 dertobi123 Exp $
+
+ 22 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ mailgraph-1.14.ebuild:
+ Remove unnecessary pkg_preinst() and fix has_version usage, thanks to Donnie
+ Berkholz
*mailgraph-1.14 (22 Oct 2007)
diff --git a/net-mail/mailgraph/mailgraph-1.14.ebuild b/net-mail/mailgraph/mailgraph-1.14.ebuild
index 2d952b03801b..ab184bf06453 100644
--- a/net-mail/mailgraph/mailgraph-1.14.ebuild
+++ b/net-mail/mailgraph/mailgraph-1.14.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/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.1 2007/10/22 18:24:57 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.2 2007/10/22 19:25:54 dertobi123 Exp $
inherit eutils webapp
@@ -43,10 +43,6 @@ src_unpack() {
mailgraph.cgi || die "sed mailgraph.cgi failed"
}
-pkg_preinst() {
- user_group_setup
-}
-
src_install() {
webapp_src_preinst
# be sure to run webapp_src_install *before* doing the directories below
@@ -96,7 +92,7 @@ src_install() {
pkg_postinst() {
# Fix ownerships - previous versions installed these with
# root as owner
- if [[ has_version <=net-mail/mailgraph-1.12 ]] ; then
+ if has_version '<=net-mail/mailgraph-1.12' ; then
if [[ -d /var/lib/mailgraph ]] ; then
chown mgraph:mgraph /var/lib/mailgraph
fi