From 9a5bc24da8cfaca9b21cca1dd6a9307879cdf151 Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Tue, 30 Jul 2024 16:20:19 +0300 Subject: [PATCH] generate-linux-fonts.rb: drop sha256 stanza for no_check value Drops `sha256` stanza for no_check value instead of passing it through which probably causes #54 --- cmd/generate-linux-fonts.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/generate-linux-fonts.rb b/cmd/generate-linux-fonts.rb index 56f3a0b48..58f78ca40 100755 --- a/cmd/generate-linux-fonts.rb +++ b/cmd/generate-linux-fonts.rb @@ -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)}