summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild')
-rw-r--r--net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild
index a416c74488d6..e0c1e3eb1078 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.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/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild,v 1.2 2007/12/09 19:35:19 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild,v 1.3 2007/12/11 16:35:41 dertobi123 Exp $
inherit autotools eutils ssl-cert fixheadtails pam
@@ -220,11 +220,9 @@ src_install() {
pkg_postinst() {
# do not install server.{key,pem) if they are exist.
use ssl && {
- if [ ! -f "${ROOT:-/}"etc/ssl/cyrus/server.key ]; then
- dodir "${ROOT:-/}"etc/ssl/cyrus
- insinto "${ROOT:-/}"etc/ssl/cyrus/
- install_cert "${ROOT:-/}"etc/ssl/cyrus/server
- chown cyrus:mail "${ROOT:-/}"etc/ssl/cyrus/server.{key,pem}
+ if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then
+ install_cert /etc/ssl/cyrus/server
+ chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem}
fi
}