Skip to content

Commit

Permalink
Merge pull request #61 from develop7/patch-1
Browse files Browse the repository at this point in the history
generate-linux-fonts.rb: drop sha256 stanza for no_check value
  • Loading branch information
tani committed Aug 20, 2024
2 parents 6e096d3 + 9a5bc24 commit 228edd0
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 228edd0

Please sign in to comment.