bottle: fix updating formulae with sha256 checksums

This commit is contained in:
Jack Nagel 2013-12-27 16:43:34 -06:00
parent ec2cd31c1d
commit 7a3e9149e0

View File

@ -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