aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-07-22 22:46:48 +0800
committerache <ache@FreeBSD.org>2000-07-22 22:46:48 +0800
commit1cf71214e7acef8413788bebbd0a984884b64f77 (patch)
tree1b3718be4f959ff2a12a16e7ac82f8a9b5f247e8 /security
parent58e32674eae5a9792c08cbb2456e6f9b0104e21e (diff)
downloadfreebsd-ports-gnome-1cf71214e7acef8413788bebbd0a984884b64f77.tar.gz
freebsd-ports-gnome-1cf71214e7acef8413788bebbd0a984884b64f77.tar.zst
freebsd-ports-gnome-1cf71214e7acef8413788bebbd0a984884b64f77.zip
Install cfsd.sh script only if not already installed
Diffstat (limited to 'security')
-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>