pkgsrc/sysutils/desktop-file-utils/DEINSTALL
marino 3a19b64a78 sysutils/desktop-file-utils: cleanup after deinstall
This package creates ${LOCALBASE}/share/applications directory, but it
didn't attempt to remove it upon deinstallation.  DEINSTALL fragment has
been updated to fix this.
2011-11-11 22:36:43 +00:00

10 lines
241 B
Text

# $NetBSD: DEINSTALL,v 1.2 2011/11/11 22:36:43 marino Exp $
APPLICATIONS_PATH="@APPLICATIONS_PATH@"
case ${STAGE} in
POST-DEINSTALL)
${RM} -f ${APPLICATIONS_PATH}/mimeinfo.cache
${RMDIR} ${APPLICATIONS_PATH} 2>/dev/null || true
;;
esac