diff options
Diffstat (limited to 'security/cyrus-sasl2/pkg-deinstall')
-rw-r--r-- | security/cyrus-sasl2/pkg-deinstall | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/cyrus-sasl2/pkg-deinstall b/security/cyrus-sasl2/pkg-deinstall index 2ee2b8bca882..9e18cc7e18ed 100644 --- a/security/cyrus-sasl2/pkg-deinstall +++ b/security/cyrus-sasl2/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 |