blob: 31881f15f0c2cc43b17edcce403e4df6b7663d40 (
plain) (
tree)
|
|
#!/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
|