Give better "Quick" fix for passing Sendmail upgrade check
authorJohn Marino <draco@marino.st>
Mon, 9 Mar 2015 22:47:37 +0000 (23:47 +0100)
committerJohn Marino <draco@marino.st>
Mon, 9 Mar 2015 22:47:37 +0000 (23:47 +0100)
The original Quick instructions required the administrator to come
back and install the DMA mailer.conf (3 steps).  Let's reduce this
to 2 steps which doesn't require a post-upgrade step

etc/Makefile

index c0ab6fe..cdc5dac 100644 (file)
@@ -143,8 +143,8 @@ upgrade_check:
                echo "=  sendmail is being removed from the base system." ; \
                echo "=  /etc/mail/mailer.conf is still configured to use sendmail." ; \
                echo "=  See http://www.dragonflybsd.com/docs/docs/newhandbook/mta/" ; \
-               echo "=  Quick: echo > ${DESTDIR}/etc/mail/mailer.conf, then make upgrade " ; \
-               echo "=  then cp ${DESTDIR}/etc/mail/mailer.conf.dma ${DESTDIR}/etc/mail/mailer.conf" ; \
+               echo "=  Quick: cp /usr/src/libexec/dma/mailer-conf/mailer.conf.dma " ; \
+               echo "=            ${DESTDIR}/etc/mail/mailer.conf ; make upgrade" ; \
                echo "==================================================================" ; \
                /usr/bin/false ; \
        fi