pkgsrc/print/xpdf-chinese-traditional/DEINSTALL
wiz b925816817 Initial import of language support packages for xpdf.
Most of them provided by Rui-Xiang Guo in pkg/16258-16264.
I updated them to the current versions and did some cleanup (e.g.,
adding DIST_SUBDIR).
2002-08-06 14:04:34 +00:00

25 lines
398 B
Bash

#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
PKGNAME=$1
STAGE=$2
XPDFRC=${PKG_PREFIX}/etc/xpdfrc
case ${STAGE} in
DEINSTALL)
;;
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
;;
*)
echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac
exit 0