freebsd-ports/japanese/man/pkg-install

15 lines
343 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ "X$2" = X"PRE-INSTALL" ]; then
for d in /usr/local/man /usr/X11R6/man; do
if [ -d ${d}/ja_JP.EUC ]; then
if [ -d ${d}/ja ]; then
(cd ${d}; tar cf - -C ja_JP.EUC . | tar xfp - -C ja; \
rm -rf ${d}/ja_JP.EUC; ln -s ja ja_JP.EUC )
else
(cd ${d}; mv ja_JP.EUC ja; ln -s ja ja_JP.EUC )
fi
fi
done
fi