mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
6b204d5c44
simplify xpg4 related things. do not depend on emacs. PR: 5251
15 lines
343 B
Bash
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
|