9 lines
211 B
Text
9 lines
211 B
Text
# *-*-shell-*-*
|
|
#
|
|
case ${ACTION} in
|
|
post)
|
|
install -dm0700 var/lib/mysql
|
|
usr/bin/mysql_install_db --user=mysql --keep-my-cnf --basedir=/usr --datadir=/var/lib/mysql
|
|
chown -R mysql:mysql var/lib/mysql
|
|
;;
|
|
esac
|