formula, resource: output when verifying checksum.

References Homebrew/homebrew#24566.
This commit is contained in:
Mike McQuaid 2013-12-08 21:37:22 +00:00
parent 6e7e3317cf
commit a762f21e33
2 changed files with 2 additions and 0 deletions

View File

@ -534,6 +534,7 @@ class Formula
# For FormulaInstaller.
def verify_download_integrity fn
ohai "Verifying #{fn.basename} checksum" if ARGV.verbose?
active_spec.verify_download_integrity(fn)
end

View File

@ -84,6 +84,7 @@ class Resource
def verify_download_integrity fn
if fn.respond_to?(:file?) && fn.file?
ohai "Verifying #{fn.basename} checksum" if ARGV.verbose?
fn.verify_checksum(checksum)
end
rescue ChecksumMissingError