diff options
author | ume <ume@FreeBSD.org> | 2001-05-21 20:38:16 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-05-21 20:38:16 +0000 |
commit | 53678e9091c78a07b897e5a3dc92a140ca50a7a1 (patch) | |
tree | 272a3a9b11f9e90074a23132bc7dec1134021bb5 /mail/cyrus-imapd2 | |
parent | bde73baf8fdab1cac27359cee24c9080bc7fb23a (diff) | |
download | FreeBSD-ports-53678e9091c78a07b897e5a3dc92a140ca50a7a1.zip FreeBSD-ports-53678e9091c78a07b897e5a3dc92a140ca50a7a1.tar.gz |
The configuration files should be preserved at deinstall
if they have been changed.
Submitted by: olgeni
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r-- | mail/cyrus-imapd2/pkg-plist | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/cyrus-imapd2/pkg-plist b/mail/cyrus-imapd2/pkg-plist index 6dd2d64..ab8b7c3 100644 --- a/mail/cyrus-imapd2/pkg-plist +++ b/mail/cyrus-imapd2/pkg-plist @@ -18,10 +18,12 @@ cyrus/bin/mkimap cyrus/bin/pop3d cyrus/bin/reconstruct cyrus/bin/timsieved +@unexec if cmp -s %D/etc/cyrus.conf %D/etc/cyrus.conf.dist; then rm -f %D/etc/cyrus.conf; fi etc/cyrus.conf.dist -etc/cyrus.conf +@exec [ -f %B/cyrus.conf ] || cp %B/%f %B/cyrus.conf +@unexec if cmp -s %D/etc/imapd.conf %D/etc/imapd.conf.dist; then rm -f %D/etc/imapd.conf; fi etc/imapd.conf.dist -etc/imapd.conf +@exec [ -f %B/imapd.conf ] || cp %B/%f %B/imapd.conf etc/rc.d/imapd.sh.sample include/cyrus/acap.h include/cyrus/acl.h |