aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-03 10:14:23 -0500
committerJack Nagel2014-04-03 10:15:21 -0500
commitecc465f13643cdcbd6a6d462b9177e06d78020c1 (patch)
treea18f3a8ccc7220a513436a6914c9937b4a5387b0 /Library
parent8ee64bd42f6386c1294e51e59f619641b9a26c81 (diff)
downloadhomebrew-ecc465f13643cdcbd6a6d462b9177e06d78020c1.tar.bz2
percona-server: only use bottle if datadir matches
Fixes #28003.
Diffstat (limited to 'Library')
-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