bottle: fix updating formulae with sha256 checksums
This commit is contained in:
parent
ec2cd31c1d
commit
7a3e9149e0
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user