pkgsrc/print/xpdf-chinese-traditional/DEINSTALL
jlam 2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00

11 lines
294 B
Text

# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:04 jlam Exp $
XPDFRC=${PKG_SYSCONFDIR}/xpdfrc
case ${STAGE} in
POST-DEINSTALL)
${SED} -e "/raditional/d" ${XPDFRC} > ${XPDFRC}.tmp
${SED} -e "/big5/d" -e "/Ar[ph][ph]ic fonts, you may/d" ${XPDFRC}.tmp > ${XPDFRC}
${RM} -f ${XPDFRC}.tmp
;;
esac