diff options
author | ache <ache@FreeBSD.org> | 2000-07-22 22:46:48 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-07-22 22:46:48 +0800 |
commit | 1cf71214e7acef8413788bebbd0a984884b64f77 (patch) | |
tree | 1b3718be4f959ff2a12a16e7ac82f8a9b5f247e8 /security | |
parent | 58e32674eae5a9792c08cbb2456e6f9b0104e21e (diff) | |
download | freebsd-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/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> |