formula, resource: output when verifying checksum.
References Homebrew/homebrew#24566.
This commit is contained in:
parent
6e7e3317cf
commit
a762f21e33
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user