aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd23
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-01-17 10:17:03 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-01-17 10:17:03 +0000
commit5f2db0379970fa71d96b32dfb44cb52557488dd3 (patch)
tree23f352f03d0ffe23148de09422ff4d4278a8dc09 /mail/cyrus-imapd23
parentd7911d42f55337c976b5c536ac8cbf2f29c88ea4 (diff)
downloadports-5f2db0379970fa71d96b32dfb44cb52557488dd3.tar.gz
ports-5f2db0379970fa71d96b32dfb44cb52557488dd3.zip
Wrongly removed lib/sasl/Cyrus.conf instead of lib/sasl2/Cyrus.conf
during deinstall. Reported by: bento via kris
Notes
Notes: svn path=/head/; revision=73327
Diffstat (limited to 'mail/cyrus-imapd23')
-rw-r--r--mail/cyrus-imapd23/pkg-deinstall10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/cyrus-imapd23/pkg-deinstall b/mail/cyrus-imapd23/pkg-deinstall
index 07501c786c70..b2e3eb678c15 100644
--- a/mail/cyrus-imapd23/pkg-deinstall
+++ b/mail/cyrus-imapd23/pkg-deinstall
@@ -26,12 +26,12 @@ checkfile() {
# Uninstall timseived's Cyrus.conf file.
cyrus_conf() {
- if [ -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf ]; then
- echo "pwcheck_method: pwcheck" > ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp
- if cmp -s ${PKG_PREFIX}/lib/sasl/Cyrus.conf ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp; then
- rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf
+ if [ -f ${PKG_PREFIX}/lib/sasl2/Cyrus.conf ]; then
+ echo "pwcheck_method: pwcheck" > ${PKG_PREFIX}/lib/sasl2/Cyrus.conf.tmp
+ if cmp -s ${PKG_PREFIX}/lib/sasl2/Cyrus.conf ${PKG_PREFIX}/lib/sasl2/Cyrus.conf.tmp; then
+ rm -f ${PKG_PREFIX}/lib/sasl2/Cyrus.conf
fi
- rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp
+ rm -f ${PKG_PREFIX}/lib/sasl2/Cyrus.conf.tmp
fi
}