# *-*-shell-*-*
#
case ${ACTION} in
post)
	if [ "$UPDATE" = "yes" ]; then
		:
	elif [ -f var/lib/mysql/mysql-bin.index ]; then
		:
	else
		chpst -u mysql:mysql usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
	fi
	;;
esac
