aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/percona-server.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb
index a8e6ee4cd..f32ecf3f0 100644
--- a/Library/Formula/percona-server.rb
+++ b/Library/Formula/percona-server.rb
@@ -43,6 +43,10 @@ class PerconaServer < Formula
@datadir ||= (var/'percona').directory? ? var/'percona' : var/'mysql'
end
+ def pour_bottle?
+ datadir == var/"mysql"
+ end
+
def install
# Don't hard-code the libtool path. See:
# https://github.com/Homebrew/homebrew/issues/20185