summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-02-05 01:42:20 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-02-05 01:42:20 +0000
commit1f96b03f1a819a0f78da52de3101ed5e41918608 (patch)
tree6d4de1d65a31dee83744aee2c7f736147a875f58 /net-nds/openldap/openldap-2.1.26.ebuild
parentmove fnprints so that it doesn't bog down etc-update and stop etc-update from... (diff)
downloadgentoo-2-1f96b03f1a819a0f78da52de3101ed5e41918608.tar.gz
gentoo-2-1f96b03f1a819a0f78da52de3101ed5e41918608.tar.bz2
gentoo-2-1f96b03f1a819a0f78da52de3101ed5e41918608.zip
fix bug #40417
Diffstat (limited to 'net-nds/openldap/openldap-2.1.26.ebuild')
-rw-r--r--net-nds/openldap/openldap-2.1.26.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/net-nds/openldap/openldap-2.1.26.ebuild b/net-nds/openldap/openldap-2.1.26.ebuild
index 4ae07c26443f..67b642a4072e 100644
--- a/net-nds/openldap/openldap-2.1.26.ebuild
+++ b/net-nds/openldap/openldap-2.1.26.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.1.26.ebuild,v 1.1 2004/01/28 04:38:47 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.1.26.ebuild,v 1.2 2004/02/05 01:42:20 robbat2 Exp $
inherit eutils
@@ -157,10 +157,11 @@ src_install() {
newins ${FILESDIR}/2.0/slapd.conf slapd
# install MDK's ssl cert script
- dodir /etc/openldap/ssl
- exeinto /etc/openldap/ssl
- doexe ${FILESDIR}/gencert.sh
-
+ if [ "`use ssl`" -o "`use samba`" ]; then
+ dodir /etc/openldap/ssl
+ exeinto /etc/openldap/ssl
+ doexe ${FILESDIR}/gencert.sh
+ fi
}
pkg_postinst() {