pkgsrc/audio/xmms-meta-input/DEINSTALL
jlam c175bfe35e {DE,}INSTALL_SRC is not actually obsolete without some other changes
to the DEINSTALL/INSTALL scripts so that they are the correct format
as expected by the pkginstall framework.  Fix the DEINSTALL script.

Also, use REQD_DIRS to manage the Input/Meta directory instead of
using @unexecJ lines in the PLIST.
2006-06-19 23:16:33 +00:00

19 lines
609 B
Text

# $NetBSD: DEINSTALL,v 1.2 2006/06/19 23:16:33 jlam Exp $
case "${STAGE}" in
DEINSTALL)
INPUT_MESA_SCRIPTDIR="${PKG_PREFIX}/lib/xmms/Input/Meta"
${RMDIR} -p ${INPUT_MESA_SCRIPTDIR} 2>/dev/null || ${TRUE}
if ${TEST} -d ${INPUT_MESA_SCRIPTDIR}; then
${CAT} << EOF
======================================================================
The xmms-meta-input player scripts were not wiped out by this deletion
process. If you don't want them around, then please remove the
following directory:
${INPUT_MESA_SCRIPTDIR}
======================================================================
EOF
fi
;;
esac