summaryrefslogtreecommitdiff
path: root/fonts/ghostscript-cmaps/DEINSTALL
blob: 153f73d96a872edadff7651960639a6ef2dc3c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:15 jlam Exp $

ADOBE_RESOURCEDIR="@ADOBE_RESOURCEDIR@"
GS_RESOURCEDIR="@GS_RESOURCEDIR@"
PKG_INFO="@PKG_INFO@"

case ${STAGE} in
DEINSTALL)
	${PKG_INFO} -qL adobe-cmaps | ${GREP} "/Resource/CMap/" |
	while read src; do
		base=`${BASENAME} $src`
		dest="${GS_RESOURCEDIR}/CMap/$base"
		${RM} -f $dest
	done
	;;
esac