mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-27 21:29:02 +00:00
19 lines
503 B
Plaintext
19 lines
503 B
Plaintext
|
#!/bin/sh
|
||
|
CLASSDIR=@NDIR@/java/classes
|
||
|
XLOCALEDIR=@X11BASE@/lib/X11/locale/zh_TW.Big5
|
||
|
|
||
|
if [ "$2" = "POST-INSTALL" ]; then
|
||
|
exit 0;
|
||
|
fi
|
||
|
|
||
|
if [ "$2" = "PRE-INSTALL" ]; then
|
||
|
#
|
||
|
# Backup font.properties.zh_GB2312, font.properties.zh_TW_Big5,
|
||
|
# and XLC_LOCALE.
|
||
|
#
|
||
|
cp -f ${CLASSDIR}/font.properties.zh_GB2312 ${CLASSDIR}/font.properties.zh_GB2312.orig
|
||
|
cp -f ${CLASSDIR}/font.properties.zh_TW_Big5 ${CLASSDIR}/font.properties.zh_TW_Big5.orig
|
||
|
cp -f ${XLOCALEDIR}/XLC_LOCALE ${XLOCALEDIR}/XLC_LOCALE.orig
|
||
|
fi
|
||
|
|