From ee10b33065d44f627c4fdb88e618eeb8d78e1cd1 Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Fri, 7 Jun 2002 21:27:30 +0000 Subject: [PATCH] Fix install. PR: 39009 Submitted by: Oliver Braun --- irc/ezbounce-devel/Makefile | 6 ++++-- irc/ezbounce/Makefile | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/irc/ezbounce-devel/Makefile b/irc/ezbounce-devel/Makefile index 8c86007b06a2..c20e11d76b13 100644 --- a/irc/ezbounce-devel/Makefile +++ b/irc/ezbounce-devel/Makefile @@ -37,8 +37,10 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin .endif -@if [ ! -f ${PREFIX}/etc/ezb.conf ] ${INSTALL_SCRIPT} \ - ${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf + @if [ ! -f ${PREFIX}/etc/ezb.conf ]; then \ + ${INSTALL_DATA} \ + ${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf; \ + fi .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/ezbounce diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile index 8c86007b06a2..c20e11d76b13 100644 --- a/irc/ezbounce/Makefile +++ b/irc/ezbounce/Makefile @@ -37,8 +37,10 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin .endif -@if [ ! -f ${PREFIX}/etc/ezb.conf ] ${INSTALL_SCRIPT} \ - ${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf + @if [ ! -f ${PREFIX}/etc/ezb.conf ]; then \ + ${INSTALL_DATA} \ + ${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf; \ + fi .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/ezbounce