mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
19ad364ff3
- some minor cosmetic fixes Noticed by: kris
10 lines
334 B
Bash
10 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
|