blob: 2f4b20231d870d83c342a625e961617cbfd5a8c1 (
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
26
27
28
|
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1 2001/10/31 21:22:29 zuntum Exp $
PKGNAME=$1
STAGE=$2
RM="@RM@"
RMDIR="@RMDIR@"
TRUE="@TRUE@"
ABIDIR=${PKG_PREFIX}/share/AbiSuite
case ${STAGE} in
DEINSTALL)
${RM} -f ${ABIDIR}/dictionary/american.hash
${RMDIR} -p ${ABIDIR}/dictionary 2>/dev/null || ${TRUE}
;;
POST-DEINSTALL)
;;
*)
echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac
exit 0
|