summaryrefslogtreecommitdiff
path: root/print/xpdf-hebrew/DEINSTALL
blob: 083139646d08428f19a1606aeb0665e945e0aeec (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
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:55 salo Exp $

PKGNAME=$1
STAGE=$2

XPDFRC=@PKG_SYSCONFDIR@/xpdfrc

case ${STAGE} in
DEINSTALL)
	;;

POST-DEINSTALL)
	@SED@ -e "/ebrew/d" ${XPDFRC} > ${XPDFRC}.tmp
	@MV@ -f ${XPDFRC}.tmp ${XPDFRC}
	;;

*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
	;;
esac
exit 0