diff options
author | jlam <jlam> | 2003-08-30 20:22:49 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-08-30 20:22:49 +0000 |
commit | 20b85a151292d1c2495d2fba787ca26293c7a9e2 (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /print/xpdf-hebrew | |
parent | 1c9f4e0bdcaa144f30d977697cd5fdfe70963ce1 (diff) | |
download | pkgsrc-20b85a151292d1c2495d2fba787ca26293c7a9e2.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-hebrew')
-rw-r--r-- | print/xpdf-hebrew/DEINSTALL | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/print/xpdf-hebrew/DEINSTALL b/print/xpdf-hebrew/DEINSTALL index 083139646d0..4d4967d4775 100644 --- a/print/xpdf-hebrew/DEINSTALL +++ b/print/xpdf-hebrew/DEINSTALL @@ -1,24 +1,10 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:06:55 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 "/ebrew/d" ${XPDFRC} > ${XPDFRC}.tmp - @MV@ -f ${XPDFRC}.tmp ${XPDFRC} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${SED} -e "/ebrew/d" ${XPDFRC} > ${XPDFRC}.tmp + ${MV} -f ${XPDFRC}.tmp ${XPDFRC} ;; esac -exit 0 |