diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 85818f0bbb..740e653ed8 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -208,7 +208,7 @@ module Homebrew extend self if has_bottle_block s.sub!(/ bottle do.+?end\n/m, output) else - s.sub!(/( (url|sha1|head|version) '\S*'\n+)+/m, '\0' + output + "\n") + s.sub!(/( (url|sha1|sha256|head|version) '\S*'\n+)+/m, '\0' + output + "\n") end end