diff options
author | ume <ume@FreeBSD.org> | 2003-01-17 18:17:03 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-01-17 18:17:03 +0800 |
commit | 00df94847d874392ebd739128cfc903b711a9dc7 (patch) | |
tree | 495f52e44ba19bd5442b838d72f7a8b14b79ae0e /mail/cyrus-imapd22 | |
parent | fef985258edd9eca7ab454ac7a49533733b689ca (diff) | |
download | freebsd-ports-gnome-00df94847d874392ebd739128cfc903b711a9dc7.tar.gz freebsd-ports-gnome-00df94847d874392ebd739128cfc903b711a9dc7.tar.zst freebsd-ports-gnome-00df94847d874392ebd739128cfc903b711a9dc7.zip |
Wrongly removed lib/sasl/Cyrus.conf instead of lib/sasl2/Cyrus.conf
during deinstall.
Reported by: bento via kris
Diffstat (limited to 'mail/cyrus-imapd22')
-rw-r--r-- | mail/cyrus-imapd22/pkg-deinstall | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/cyrus-imapd22/pkg-deinstall b/mail/cyrus-imapd22/pkg-deinstall index 07501c786c70..b2e3eb678c15 100644 --- a/mail/cyrus-imapd22/pkg-deinstall +++ b/mail/cyrus-imapd22/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 } |