mysql: move some post_install back to install.

master
Mike McQuaid 2013-10-07 15:35:48 +01:00
parent f1394a2c79
commit e803e93a35
1 changed files with 4 additions and 1 deletions

View File

@ -114,10 +114,13 @@ class Mysql < Formula
# Move mysqlaccess to libexec
mv "#{bin}/mysqlaccess", libexec
mv "#{bin}/mysqlaccess.conf", libexec
# Make sure the var/mysql directory exists
(var+"mysql").mkpath
end
def post_install
# Make sure the var/mysql directory exists
# TODO: remove after bottle updated.
(var+"mysql").mkpath
unless File.exist? "#{var}/mysql/mysql/user.frm"