blob: a8d5f19c51818a45bd1c7641da127bee19c3bf42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:50 salo Exp $
PKGNAME=$1
STAGE=$2
XPDFRC=@PKG_SYSCONFDIR@/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
|