diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-20 12:18:57 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-20 12:18:57 +0000 |
commit | a260bf2b4fc6912abc4c995a690bb672d9ee8773 (patch) | |
tree | 9e92a610e4cbf8ca8d0a103c37b2fa82d214198c /security/cyrus-sasl/pkg-deinstall | |
parent | 4731543b1d7b0ebb024e204af2b08b8fad83d880 (diff) | |
download | freebsd-ports-a260bf2b4fc6912abc4c995a690bb672d9ee8773.zip |
refer to correct location in pkg-message
correct db filename
fix pkg-install script
PR: 29731
Submitted by: maintainer
Diffstat (limited to 'security/cyrus-sasl/pkg-deinstall')
-rw-r--r-- | security/cyrus-sasl/pkg-deinstall | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/cyrus-sasl/pkg-deinstall b/security/cyrus-sasl/pkg-deinstall index 2ee2b8bca882..9e18cc7e18ed 100644 --- a/security/cyrus-sasl/pkg-deinstall +++ b/security/cyrus-sasl/pkg-deinstall @@ -10,10 +10,12 @@ PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} +SASLDB_NAME=${PKG_PREFIX}/etc/%%SASLDB%% + # delete sasldb database delete_sasldb() { - [ -f %D/etc/sasldb.db -a ! -s %D/etc/sasldb.db ] && rm %D/etc/sasldb.db + [ -f ${SASLDB_NAME} -a ! -s ${SASLDB_NAME} ] && rm ${SASLDB_NAME} } # This should really be uninstalled by Sendmail |