blob: 1810a1ea674363ff10c2c929a98516a04b459dc0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
if [ "$2" = "PRE-INSTALL" ]; then
exit 0
fi
XPDFRC=${PKG_PREFIX}/etc/xpdfrc
ADDRESOURCE=${PKG_PREFIX}/share/xpdf/chinese-traditional/dot.xpdfrc
grep -F -v --file=${ADDRESOURCE} ${XPDFRC} > ${XPDFRC}.nochinese-traditional
cat ${XPDFRC}.nochinese-traditional ${ADDRESOURCE} > ${XPDFRC}
rm -f ${XPDFRC}.nochinese-traditional
|