Permalink
Browse files

kibana: don't use OS.mac?.

  • Loading branch information...
MikeMcQuaid authored and nijikon committed Dec 13, 2016
1 parent 4cf6f08 commit 9106619321920361a8eb506788fcb2c0da819fb8
Showing with 1 addition and 3 deletions.
  1. +1 −3 Formula/kibana.rb
View
@@ -28,10 +28,8 @@ def install
# do not build packages for other platforms
platforms = Set.new(["darwin-x64", "linux-x64", "linux-x86", "windows-x86"])
if OS.mac? && Hardware::CPU.is_64_bit?
if MacOS.prefer_64_bit?
platform = "darwin-x64"
elsif OS.linux?
platform = Hardware::CPU.is_64_bit? ? "linux-x64" : "linux-x86"
else
raise "Installing Kibana via Homebrew is only supported on Darwin x86_64, Linux i386, Linux i686, and Linux x86_64"
end

0 comments on commit 9106619

Please sign in to comment.