summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorbouyer <bouyer>2002-10-17 10:02:53 +0000
committerbouyer <bouyer>2002-10-17 10:02:53 +0000
commit400f271cd49e1eee1811d0203a1e74783159ca65 (patch)
treef40d93944865d30767260d14be945b82502ae4a3 /databases/openldap
parent3c8e2b305098d42856b34ed5b5017ea740d67392 (diff)
downloadpkgsrc-400f271cd49e1eee1811d0203a1e74783159ca65.tar.gz
Solaris's builtin [ and /usr/bin/test don't know -e. Use -r instead.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile
index 785f02969d7..a15213f47c3 100644
--- a/databases/openldap/Makefile
+++ b/databases/openldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2002/09/23 10:06:58 kleink Exp $
+# $NetBSD: Makefile,v 1.49 2002/10/17 10:02:53 bouyer Exp $
DISTNAME= openldap-2.0.27
SVR4_PKGNAME= oldap
@@ -84,7 +84,7 @@ RCD_SCRIPTS= slapd
post-install:
${INSTALL_DATA_DIR} ${EGDIR}/schema
for file in ${CNFS} ${CNFS_PERMS} ${SUPPS}; do \
- if [ ! -e ${PKG_SYSCONFDIR}/$${file}.default ]; then \
+ if [ ! -r ${PKG_SYSCONFDIR}/$${file}.default ]; then \
${CP} -p ${PKG_SYSCONFDIR}/$${file} \
${PKG_SYSCONFDIR}/$${file}.default; \
fi; \