void-packages/srcpkgs/mariadb/INSTALL

10 lines
197 B
Plaintext
Raw Normal View History

# *-*-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