freebsd-ports/chinese/xpdf/pkg-install
Yen-Ming Lee 19ad364ff3 - update chinese/arphicttf path in RUN_DEPENDS
- some minor cosmetic fixes

Noticed by:	kris
2005-02-20 04:22:48 +00:00

9 lines
334 B
Bash

#!/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