diff options
Diffstat (limited to 'chinese/xpdf/pkg-install')
-rw-r--r-- | chinese/xpdf/pkg-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chinese/xpdf/pkg-install b/chinese/xpdf/pkg-install new file mode 100644 index 000000000000..635f01fd9a35 --- /dev/null +++ b/chinese/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/chinese-traditional/dot.xpdfrc +/usr/bin/grep -F -v --file=${ADDRESOURCE} ${XPDFRC} > ${XPDFRC}.nochinese-traditional +/bin/rm -f ${XPDFRC} +/bin/cat ${XPDFRC}.nochinese-traditional ${ADDRESOURCE} > ${XPDFRC} +/bin/rm -f ${XPDFRC}.nochinese-traditional |