pkgsrc/print/xpdf-cyrillic/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

24 lines
325 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 "/yrillic/d" ${XPDFRC} > ${XPDFRC}.tmp
mv -f ${XPDFRC}.tmp ${XPDFRC}
;;
*)
echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac
exit 0