# $NetBSD: DEINSTALL,v 1.4 2005/10/12 11:39:12 wiz Exp $

XPDFRC=${PKG_SYSCONFDIR}/xpdfrc

case ${STAGE} in
POST-DEINSTALL)
	${SED} -e "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp
	${SED} -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC}
	${SED} -e "/displayCIDFontTT.*Korea/d" ${XPDFRC}.tmp > ${XPDFRC}
	${RM} -f ${XPDFRC}.tmp
	;;
esac