aboutsummaryrefslogtreecommitdiff
path: root/japanese/xpdf/pkg-install
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-04-19 10:55:31 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-04-19 10:55:31 +0000
commitc46655bdd14fe0bfee4680364b8caf3d96f85554 (patch)
tree651abe43e116e364e691c22894fefa9629fc409e /japanese/xpdf/pkg-install
parent83f729088fde99ec65f6516eb19c567a5145a9dc (diff)
downloadports-c46655bdd14fe0bfee4680364b8caf3d96f85554.tar.gz
ports-c46655bdd14fe0bfee4680364b8caf3d96f85554.zip
Notes
Diffstat (limited to 'japanese/xpdf/pkg-install')
-rw-r--r--japanese/xpdf/pkg-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/japanese/xpdf/pkg-install b/japanese/xpdf/pkg-install
index 31881f15f0c2..7fc369ace2a1 100644
--- a/japanese/xpdf/pkg-install
+++ b/japanese/xpdf/pkg-install
@@ -4,7 +4,7 @@ if [ "$2" = "PRE-INSTALL" ]; then
fi
XPDFRC=${PKG_PREFIX}/etc/xpdfrc
ADDRESOURCE=${PKG_PREFIX}/share/xpdf/japanese/dot.xpdfrc
-/usr/bin/grep -F -v --file=${ADDRESOURCE} ${XPDFRC} > ${XPDFRC}.nojapan
+/usr/bin/sed '/^#Japanese PDF resources$/,/^#Japanese PDF resources$/d' ${XPDFRC} > ${XPDFRC}.nojapan
/bin/rm -f ${XPDFRC}
/bin/cat ${XPDFRC}.nojapan ${ADDRESOURCE} > ${XPDFRC}
/bin/rm -f ${XPDFRC}.nojapan