From 5f2db0379970fa71d96b32dfb44cb52557488dd3 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Fri, 17 Jan 2003 10:17:03 +0000 Subject: Wrongly removed lib/sasl/Cyrus.conf instead of lib/sasl2/Cyrus.conf during deinstall. Reported by: bento via kris --- mail/cyrus-imapd2/pkg-deinstall | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/cyrus-imapd2') diff --git a/mail/cyrus-imapd2/pkg-deinstall b/mail/cyrus-imapd2/pkg-deinstall index 07501c786c70..b2e3eb678c15 100644 --- a/mail/cyrus-imapd2/pkg-deinstall +++ b/mail/cyrus-imapd2/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 } -- cgit v1.2.3