diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2000-07-22 14:46:48 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2000-07-22 14:46:48 +0000 |
commit | a44a6bfcb5bc7b5b26981176a00018adfbb32c5b (patch) | |
tree | e6db3f03d112a5243f5e175726084f55cea2a1ee /security/cfs | |
parent | Fix MASTER_SITES. (diff) |
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/Makefile | 6 |
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> |