Commit 28a44737 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Add progress bar to crew (#2983)

parent a3cc8253
......@@ -422,9 +422,9 @@ def download
end
Dir.chdir CREW_BREW_DIR do
if @opt_verbose then
system('curl', '-v', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
system('curl', '-v', '--progress-bar', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
else
system('curl', '-s', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
system('curl', '--progress-bar', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
end
abort 'Checksum mismatch. :/ Try again.'.lightred unless
Digest::SHA256.hexdigest( File.read("./#{filename}") ) == sha256sum
......
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