etc/mail actually applies to MK_SENDMAIL, not MK_MAIL

This commit is contained in:
Enji Cooper 2014-11-29 22:26:35 +00:00
parent a8920f67f3
commit e42bedb82e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275270

View File

@ -292,7 +292,7 @@ distribution:
cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
${PPPCNF} ${DESTDIR}/etc/ppp
.endif
.if ${MK_MAIL} != "no"
.if ${MK_SENDMAIL} != "no"
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${ETCMAIL} ${DESTDIR}/etc/mail
if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \