2013-09-23 16:26:00 +02:00
|
|
|
# *-*-shell-*-*
|
|
|
|
#
|
|
|
|
case ${ACTION} in
|
|
|
|
post)
|
2014-08-02 18:58:16 +02:00
|
|
|
install -dm0700 var/lib/mysql
|
|
|
|
usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
2013-09-23 16:26:00 +02:00
|
|
|
chown -R mysql:mysql var/lib/mysql
|
|
|
|
;;
|
|
|
|
esac
|