diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
commit | c5f0321718c1b51acf6c873f20f874a333e41399 (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /print/xpdf-korean | |
parent | ffb634dba4f8cf98d9303350c69feff299423c86 (diff) | |
download | pkgsrc-c5f0321718c1b51acf6c873f20f874a333e41399.tar.gz |
Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
Diffstat (limited to 'print/xpdf-korean')
-rw-r--r-- | print/xpdf-korean/DEINSTALL | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/print/xpdf-korean/DEINSTALL b/print/xpdf-korean/DEINSTALL index 130b9fdfa0a..797821547a4 100644 --- a/print/xpdf-korean/DEINSTALL +++ b/print/xpdf-korean/DEINSTALL @@ -1,25 +1,11 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:58 salo Exp $ +# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:05 jlam Exp $ -PKGNAME=$1 -STAGE=$2 - -XPDFRC=@PKG_SYSCONFDIR@/xpdfrc +XPDFRC=${PKG_SYSCONFDIR}/xpdfrc case ${STAGE} in -DEINSTALL) - ;; - POST-DEINSTALL) - @SED@ -e "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp - @SED@ -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC} - @RM@ -f ${XPDFRC}.tmp - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp + ${SED} -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC} + ${RM} -f ${XPDFRC}.tmp ;; esac -exit 0 |