mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
mariadb: move var mkpath to install.
This commit is contained in:
1 parent
3245b06414
commit
faa8aec196
1 file changed
+3
-3
@@ -103,12 +103,12 @@ class Mariadb < Formula
|
||||
|
||||
ln_s "#{prefix}/support-files/mysql.server", bin
|
||||
end
|
||||
|
||||
# Make sure the var/mysql directory exists
|
||||
(var+"mysql").mkpath
|
||||
end
|
||||
|
||||
def post_install
|
||||
# Make sure the var/mysql directory exists
|
||||
(var+"mysql").mkpath
|
||||
|
||||
unless File.exist? "#{var}/mysql/mysql/user.frm"
|
||||
ENV['TMPDIR'] = nil
|
||||
system "#{bin}/mysql_install_db", '--verbose', "--user=#{ENV['USER']}",
|
||||
|
||||
Reference in new issue
Block a user