#!/bin/sh
#
# This script tries to remove obsolete atok7 files for upgrade install
# from Solaris 2.5.1 and less releases. Because, some atok7 files which
# was defined as "preserve" action (e.g., dictionary file) will remain
# on the system after the upgrade even if the files were not modified.
#
# Note that if the files were modified, they will be saved on the system
# as <filename>:<release_name> by upgrade install.
#

if [ -d $BASEDIR/usr/lib/mle/ja/atok7 ]; then
	rm -f $BASEDIR/usr/lib/mle/ja/atok7/atok7usr.dic \
	      $BASEDIR/usr/lib/mle/ja/atok7/atok7xl.dic
	rmdir -ps $BASEDIR/usr/lib/mle/ja/atok7
fi

exit 0
