mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-11 00:18:06 -05:00
Updated to use progress bar, instead of download statistics.
This commit is contained in:
2
crew
2
crew
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user