diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2007-12-11 16:35:41 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2007-12-11 16:35:41 +0000 |
commit | bcf245c4b62b7215d75efa4c7e01285381d57d96 (patch) | |
tree | 9fc1a8bffa3440a377ac7575488f1ca4837e863a /net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild | |
parent | alpha/ia64/sparc stable wrt security #201885 (diff) | |
download | historical-bcf245c4b62b7215d75efa4c7e01285381d57d96.tar.gz historical-bcf245c4b62b7215d75efa4c7e01285381d57d96.tar.bz2 historical-bcf245c4b62b7215d75efa4c7e01285381d57d96.zip |
install_cert already takes care of ROOT
Package-Manager: portage-2.1.4_rc9
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.ebuild | 10 |
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 } |