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

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

KEYLOCALE='ko'
LIBFILES='libolgx.so.103.2 libxview.so.103.2 libdeskset.so.0.2'

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 libolgx.so.103.* libxview.so.103.* libdeskset.so.0.*
	for file in $LIBFILES
	do
		rm -rf $file
		ln -s locale/$KEYLOCALE/$file .
	done
   fi
fi

exit 0
