Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
daa16365
Commit
daa16365
authored
Jul 31, 2017
by
Guannan Wang @ super-lollipop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to use progress bar, instead of download statistics.
parent
f2579a2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
crew
crew
+1
-1
No files found.
crew
View file @
daa16365
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment