summaryrefslogtreecommitdiff
path: root/editors/abiword/DEINSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/DEINSTALL')
-rw-r--r--editors/abiword/DEINSTALL28
1 files changed, 28 insertions, 0 deletions
diff --git a/editors/abiword/DEINSTALL b/editors/abiword/DEINSTALL
new file mode 100644
index 00000000000..2f4b20231d8
--- /dev/null
+++ b/editors/abiword/DEINSTALL
@@ -0,0 +1,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