mysql: move some post_install back to install.
parent
f1394a2c79
commit
e803e93a35
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue