diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-05-21 20:38:16 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-05-21 20:38:16 +0000 |
commit | f301bd7de661d155afef1466adece710886ab7e0 (patch) | |
tree | dafeb8eff7e487d9a9206c97b28d930d6d291b3c /mail/cyrus-imapd24/pkg-plist | |
parent | 07671892840e3004128dbdced7bda95f526917d4 (diff) |
The configuration files should be preserved at deinstall
if they have been changed.
Submitted by: olgeni
Notes
Notes:
svn path=/head/; revision=42889
Diffstat (limited to 'mail/cyrus-imapd24/pkg-plist')
-rw-r--r-- | mail/cyrus-imapd24/pkg-plist | 6 |
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 |