summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2002-10-17 10:02:53 +0000
committerbouyer <bouyer@pkgsrc.org>2002-10-17 10:02:53 +0000
commit479b2b57a49e2b41984512888cb0ab3d0691bf59 (patch)
treef40d93944865d30767260d14be945b82502ae4a3 /databases
parent4a73417baeec7b8d7eba8b077ca2d994cbb1430e (diff)
downloadpkgsrc-479b2b57a49e2b41984512888cb0ab3d0691bf59.tar.gz
Solaris's builtin [ and /usr/bin/test don't know -e. Use -r instead.
Diffstat (limited to 'databases')
-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; \