diff options
Diffstat (limited to 'japanese/xpdf/pkg-install')
-rw-r--r-- | japanese/xpdf/pkg-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/japanese/xpdf/pkg-install b/japanese/xpdf/pkg-install new file mode 100644 index 000000000000..31881f15f0c2 --- /dev/null +++ b/japanese/xpdf/pkg-install @@ -0,0 +1,10 @@ +#!/bin/sh +if [ "$2" = "PRE-INSTALL" ]; then + exit 0 +fi +XPDFRC=${PKG_PREFIX}/etc/xpdfrc +ADDRESOURCE=${PKG_PREFIX}/share/xpdf/japanese/dot.xpdfrc +/usr/bin/grep -F -v --file=${ADDRESOURCE} ${XPDFRC} > ${XPDFRC}.nojapan +/bin/rm -f ${XPDFRC} +/bin/cat ${XPDFRC}.nojapan ${ADDRESOURCE} > ${XPDFRC} +/bin/rm -f ${XPDFRC}.nojapan |