diff options
Diffstat (limited to 'print/xpdf-thai/DEINSTALL')
-rw-r--r-- | print/xpdf-thai/DEINSTALL | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/print/xpdf-thai/DEINSTALL b/print/xpdf-thai/DEINSTALL index bb27ad9d7b1..22549baac22 100644 --- a/print/xpdf-thai/DEINSTALL +++ b/print/xpdf-thai/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:07:01 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:06 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/hai/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/hai/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 |