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