diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-01-17 10:17:03 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-01-17 10:17:03 +0000 |
commit | 5f2db0379970fa71d96b32dfb44cb52557488dd3 (patch) | |
tree | 23f352f03d0ffe23148de09422ff4d4278a8dc09 /mail/cyrus-imapd23 | |
parent | d7911d42f55337c976b5c536ac8cbf2f29c88ea4 (diff) | |
download | ports-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-deinstall | 10 |
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 } |