Download strategies should return a Pathname from cached_location
This commit is contained in:
parent
ecba7b4e7e
commit
68a5268aef
@ -90,7 +90,7 @@ class Resource
|
||||
end
|
||||
|
||||
def verify_download_integrity fn
|
||||
if fn.respond_to?(:file?) && fn.file?
|
||||
if fn.file?
|
||||
ohai "Verifying #{fn.basename} checksum" if ARGV.verbose?
|
||||
fn.verify_checksum(checksum)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user