summaryrefslogblamecommitdiff
path: root/japanese/man/pkg-install
blob: 1d1ab6fd8018d45336aff8d34dbc50b456a679fc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

         








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