pkgsrc/games/falcons-eye/DEINSTALL
jlam 86adb8d0bc Improve the DEINSTALL script by checking for the presence of the data
directory before promping the user to remove it.  Also rewrite in style
expected by pkginstall framework.
2006-06-19 23:09:59 +00:00

19 lines
564 B
Text

# $NetBSD: DEINSTALL,v 1.2 2006/06/19 23:09:59 jlam Exp $
case "${STAGE}" in
DEINSTALL)
DATADIR="${PKG_PREFIX}/share/falcons-eye-dir"
${RMDIR} -p ${DATADIR} 2>/dev/null || ${TRUE}
if ${TEST} -d ${DATADIR}; then
${CAT} << EOF
======================================================================
The records, log, settings and savegames 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