a3a490535f
aware applications look for authentication mechanisms by default. * Warn package admin if ${PREFIX}/lib/sasl is non-empty after deinstallation, as it may contain service config files. * Purge use of PKGDIR.
23 lines
488 B
Bash
23 lines
488 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: DEINSTALL,v 1.4 2002/01/31 20:42:08 jlam Exp $
|
|
|
|
SASLDB=@PKG_SYSCONFDIR@/sasldb.db
|
|
PWCHECKDIR=@PWCHECKDIR@
|
|
|
|
case ${STAGE} in
|
|
POST-DEINSTALL)
|
|
${RM} -f /usr/lib/sasl
|
|
${RM} -rf ${PWCHECKDIR}
|
|
if [ -e ${SASLDB} ]
|
|
then
|
|
${CAT} << EOF
|
|
===========================================================================
|
|
You may want to remove the SASL password data file:
|
|
|
|
${SASLDB}
|
|
===========================================================================
|
|
EOF
|
|
fi
|
|
;;
|
|
esac
|