diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 176077eb01..b22336f8ac 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1915,7 +1915,7 @@ class Formula bottles = bottle["files"].map do |tag, file| info = { "url" => file["url"] } - info["sha256"] = file["sha256"] unless tap.name == "homebrew/core" + info["sha256"] = file["sha256"] if tap.name != "homebrew/core" [tag.to_s, info] end.to_h