cvs commit: ports/mail/exim pkg-plist
Andrew Pantyukhin
sat at FreeBSD.org
Fri Jun 15 10:36:44 UTC 2007
On 6/15/07, Kirill Ponomarew <krion at freebsd.org> wrote:
> krion 2007-06-15 08:56:47 UTC
>
> FreeBSD ports repository
>
> Modified files:
> mail/exim pkg-plist
> Log:
> Fix plist.
>
> Submitted by: pav
>
> Revision Changes Path
> 1.47 +3 -3 ports/mail/exim/pkg-plist
> _______________________________________________
> cvs-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-all
> To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
>
>
> Index: ports/mail/exim/pkg-plist
> diff -u ports/mail/exim/pkg-plist:1.46 ports/mail/exim/pkg-plist:1.47
> --- ports/mail/exim/pkg-plist:1.46 Mon May 28 20:52:13 2007
> +++ ports/mail/exim/pkg-plist Fri Jun 15 08:56:47 2007
> @@ -51,5 +51,5 @@
> %%SA_EXIM%%@unexec if cmp -s %D/etc/exim/sa-exim.conf %D/etc/exim/sa-exim.conf.default; then rm -f %D/etc/exim/sa-exim.conf; fi
> %%SA_EXIM%%etc/exim/sa-exim.conf.default
> %%SA_EXIM%%@exec [ -f %B/sa-exim.conf ] || cp %B/%f %B/sa-exim.conf
> - at dirrmtry %B
> - at dirrmtry %%LOGDIR%%
> + at unexec rmdir %B 2> /dev/null || true
> + at unexec rmdir %%LOGDIR%% 2> /dev/null || true
As miwi noticed, this probably warrants a portrevision
bump. Imagine the next version exim having a different
LOGDIR, for example - after upgrading the user will be
left with the old one forever.
OTOH, I'm all for greener computing. An extra empty
directory vs. having to recompile exim on thousands of
computers is not a clear-cut case.
More information about the cvs-all
mailing list