# *-*-shell-*-*
#
case ${ACTION} in
post)
	install -dm0700 var/lib/mysql
	usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
	chown -R mysql:mysql var/lib/mysql
	;;
esac