Updated to use progress bar, instead of download statistics.

parent f2579a2c
......@@ -370,7 +370,7 @@ def download
sha256sum = @pkg.binary_sha256[@device[:architecture]]
end
Dir.chdir CREW_BREW_DIR do
system('curl', '--insecure', '-L', url, '-o', filename)
system('curl', '--insecure', '-L', '-#', url, '-o', filename)
abort 'Checksum mismatch. :/ Try again.'.lightred unless
Digest::SHA256.hexdigest( File.read("./#{filename}") ) == sha256sum
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment