blob: c7005a86a9758e5434273b9c48d3c35949dfd99c (
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.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 "/atin2/d" ${XPDFRC} > ${XPDFRC}.tmp
mv -f ${XPDFRC}.tmp ${XPDFRC}
;;
*)
echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac
exit 0
|