aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-07-01 11:05:40 +0000
committerPaul Saab <ps@FreeBSD.org>2000-07-01 11:05:40 +0000
commit8fae36cc6f62dd0aa9e1a0e683b57d6b7ca6311f (patch)
treede6a313ac590f9a40d7cf7ed5da51f1e58b29645
parenta485fc643e59df47cc1a95efcf1d0ec3204233b0 (diff)
Notes
-rw-r--r--usr.sbin/mailwrapper/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/mailwrapper/Makefile b/usr.sbin/mailwrapper/Makefile
index 0e6c8cf44424..02a189936b2a 100644
--- a/usr.sbin/mailwrapper/Makefile
+++ b/usr.sbin/mailwrapper/Makefile
@@ -11,9 +11,9 @@ SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
${BINDIR}/mailwrapper /usr/bin/mailq
afterinstall:
- @if [ ! -f ${DESTDIR}/etc/mail/mailer.conf ]; then \
- ${INSTALL} -c -o root -g wheel -m 644 \
- ${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail; \
- fi
+.if !exists(${DESTDIR}/etc/mail/mailer.conf)
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
+ ${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail
+.endif
.include <bsd.prog.mk>