aboutsummaryrefslogtreecommitdiff
path: root/security/cfs
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-07-22 14:46:48 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-07-22 14:46:48 +0000
commita44a6bfcb5bc7b5b26981176a00018adfbb32c5b (patch)
treee6db3f03d112a5243f5e175726084f55cea2a1ee /security/cfs
parent019922479ec8c75e26a131cd2590e21ee2dc0799 (diff)
downloadports-a44a6bfcb5bc7b5b26981176a00018adfbb32c5b.tar.gz
ports-a44a6bfcb5bc7b5b26981176a00018adfbb32c5b.zip
Install cfsd.sh script only if not already installed
Notes
Notes: svn path=/head/; revision=30968
Diffstat (limited to 'security/cfs')
-rw-r--r--security/cfs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/cfs/Makefile b/security/cfs/Makefile
index 3b60880f1f4e..276309410d7d 100644
--- a/security/cfs/Makefile
+++ b/security/cfs/Makefile
@@ -28,7 +28,9 @@ do-install:
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1; \
${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8; \
${MKDIR} ${PREFIX}/share/doc/cfs; \
- ${INSTALL_DATA} README.install notes.ms ${PREFIX}/share/doc/cfs; \
- ${INSTALL_SCRIPT} ${FILESDIR}/cfsd.sh ${PREFIX}/etc/rc.d
+ ${INSTALL_DATA} README.install notes.ms ${PREFIX}/share/doc/cfs
+ @if [ ! -f ${PREFIX}/etc/rc.d/cfsd.sh ]; then \
+ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/cfsd.sh ${PREFIX}/etc/rc.d/cfsd.sh; \
+ fi
.include <bsd.port.mk>