Skip to content

Commit

Permalink
generate-linux-fonts.rb: drop sha256 stanza for no_check value
Browse files Browse the repository at this point in the history
Drops `sha256` stanza for no_check value instead of passing it through which probably causes Homebrew#54
  • Loading branch information
develop7 committed Jul 30, 2024
1 parent bb1e6df commit 9a5bc24
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/generate-linux-fonts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ def format_stanza(stanza, value, args = {})
return "" if value.nil?

if stanza == :sha256 && value == "no_check"
<<-EOS
#{stanza} :#{value}
EOS
"" # Drop `sha256` stanza in formula altogether
elsif [:url, :head].include?(stanza)
<<-EOS
#{stanza} #{format_url(value, args)}
Expand Down

0 comments on commit 9a5bc24

Please sign in to comment.