percona-server@5.6: fix component order

This commit is contained in:
commitay 2018-09-21 14:36:00 +10:00
parent e56988b63f
commit 1aab857989

View file

@ -12,6 +12,11 @@ class PerconaServerAT56 < Formula
sha256 "aa90a2216314fefbe8d7774e54ba2dcfd8e30bb13be48c786dd68f756b7f385b" => :el_capitan
end
pour_bottle? do
reason "The bottle needs a var/mysql datadir (yours is var/percona)."
satisfy { datadir == var/"mysql" }
end
keg_only :versioned_formula
option "with-test", "Build with unit tests"
@ -30,11 +35,6 @@ class PerconaServerAT56 < Formula
@datadir ||= (var/"percona").directory? ? var/"percona" : var/"mysql"
end
pour_bottle? do
reason "The bottle needs a var/mysql datadir (yours is var/percona)."
satisfy { datadir == var/"mysql" }
end
def install
# Don't hard-code the libtool path. See:
# https://github.com/Homebrew/homebrew/issues/20185