diff options
Diffstat (limited to 'print/xpdf-chinese-simplified')
-rw-r--r-- | print/xpdf-chinese-simplified/DEINSTALL | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/print/xpdf-chinese-simplified/DEINSTALL b/print/xpdf-chinese-simplified/DEINSTALL index 68b1310cc73..7c16b5a5d73 100644 --- a/print/xpdf-chinese-simplified/DEINSTALL +++ b/print/xpdf-chinese-simplified/DEINSTALL @@ -1,25 +1,11 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:48 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:03 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/implified/d" ${XPDFRC} > ${XPDFRC}.tmp - @SED@ -e "/gb2312/d" ${XPDFRC}.tmp > ${XPDFRC} - @RM@ -f ${XPDFRC}.tmp - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/implified/d" ${XPDFRC} > ${XPDFRC}.tmp + ${SED} -e "/gb2312/d" ${XPDFRC}.tmp > ${XPDFRC} + ${RM} -f ${XPDFRC}.tmp ;; esac -exit 0 |