1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/man/pkg-install
Jun-ichiro itojun Hagino 6b204d5c44 original distribution updated to 1.1f.
simplify xpg4 related things.
do not depend on emacs.

PR:		5251
1998-03-20 16:49:43 +00:00

15 lines
343 B
Bash

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