#
# Copyright (c) 1999 by Sun Microsystems, Inc.
# All rights reserved.
#

#ident  "@(#)postinstall 1.2 99/08/11 SMI"

KEYLOCALE='zh_TW'
LIBFILES='libmle.so.1.8 libale.so.1.5 libc.so.101.9 libc.so.102.9'

grep "^LANG=$KEYLOCALE" /etc/default/init >/dev/null 2>&1
if [ $? = 0 ]; then
   if [ -d $BASEDIR/usr/4lib ]; then
	cd $BASEDIR/usr/4lib

	rm -f libmle.so.1.* libale.so.1.* libc.so.101.* libc.so.102.*
	for file in $LIBFILES
	do
		ln -s locale/$KEYLOCALE/$file .
	done
   fi
fi

exit 0
