diff --git a/Library/Homebrew/dev-cmd/bump-cask-pr.rb b/Library/Homebrew/dev-cmd/bump-cask-pr.rb index f884a0b5ad..4b114005df 100644 --- a/Library/Homebrew/dev-cmd/bump-cask-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-cask-pr.rb @@ -131,7 +131,7 @@ module Homebrew tmp_config = cask.config tmp_url = tmp_cask.url.to_s - if new_hash.nil? + if new_hash.nil? && old_hash != :no_check resource_path = fetch_resource(cask, new_version, tmp_url) Utils::Tar.validate_file(resource_path) new_hash = resource_path.sha256