aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2001-05-22 04:38:16 +0800
committerume <ume@FreeBSD.org>2001-05-22 04:38:16 +0800
commit53678e9091c78a07b897e5a3dc92a140ca50a7a1 (patch)
tree272a3a9b11f9e90074a23132bc7dec1134021bb5 /mail/cyrus-imapd24
parentbde73baf8fdab1cac27359cee24c9080bc7fb23a (diff)
downloadfreebsd-ports-gnome-53678e9091c78a07b897e5a3dc92a140ca50a7a1.tar.gz
freebsd-ports-gnome-53678e9091c78a07b897e5a3dc92a140ca50a7a1.tar.zst
freebsd-ports-gnome-53678e9091c78a07b897e5a3dc92a140ca50a7a1.zip
The configuration files should be preserved at deinstall
if they have been changed. Submitted by: olgeni
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/pkg-plist6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/cyrus-imapd24/pkg-plist b/mail/cyrus-imapd24/pkg-plist
index 6dd2d6405a14..ab8b7c30120d 100644
--- a/mail/cyrus-imapd24/pkg-plist
+++ b/mail/cyrus-imapd24/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