3ba41e8b0c
variables so that the default INSTALL/DEINSTALL scripts from the pkginstall framework do the right thing. Where possible, move some post-install directions for package setup into MESSAGE files so that they may be re-inspected by querying the installed package using "pkg_info -D ...".
19 lines
539 B
Text
19 lines
539 B
Text
# $NetBSD: DEINSTALL,v 1.2 2006/07/05 06:53:12 jlam Exp $
|
|
|
|
case "${STAGE}" in
|
|
DEINSTALL)
|
|
DATADIR="${PKG_PREFIX}/share/ivan"
|
|
${RMDIR} -p ${DATADIR} 2>/dev/null || ${TRUE}
|
|
if ${TEST} -d ${DATADIR}; then
|
|
${CAT} << EOF
|
|
======================================================================
|
|
The records, log and bones were not wiped out by this deletion process.
|
|
If you don't want them around, then please remove the following
|
|
directory:
|
|
|
|
${DATADIR}
|
|
======================================================================
|
|
EOF
|
|
fi
|
|
;;
|
|
esac
|