From aa9a07f49e9b3a843d38c3666a100991c2e45e9e Mon Sep 17 00:00:00 2001 From: Harry Marr Date: Sun, 12 Jun 2022 11:24:50 -0400 Subject: [PATCH] Only checksum file downloads, not VCS downloads --- Library/Homebrew/cask/cask.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/cask.rb b/Library/Homebrew/cask/cask.rb index 0e8fb56f7e563..c25726316ac6f 100644 --- a/Library/Homebrew/cask/cask.rb +++ b/Library/Homebrew/cask/cask.rb @@ -130,7 +130,7 @@ def config_path end def checksumable? - url.using.blank? || url.using == :post + DownloadStrategyDetector.detect(url.to_s, url.using) <= AbstractFileDownloadStrategy end def download_sha_path