This avoids the need for a confusing line of the form: DEINSTALL_TEMPLATE+= path/to/INSTALL in the package Makefile, and actually removes the need to specify it altogether since by convention, the existence of the DEINSTALL script is enough to add it to DEINSTALL_TEMPLATE.
9 lines
188 B
Text
9 lines
188 B
Text
# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:16 jlam Exp $
|
|
|
|
APPLICATIONS_PATH="@APPLICATIONS_PATH@"
|
|
|
|
case ${STAGE} in
|
|
POST-DEINSTALL)
|
|
${RM} -f ${APPLICATIONS_PATH}/mimeinfo.cache
|
|
;;
|
|
esac
|