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
8fda6d9c
Commit
8fda6d9c
authored
May 09, 2017
by
lyxell
Committed by
GitHub
May 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #623 from jam7/no-source-check
Change to abort if no precompiled binary nor source is available
parents
9f98e272
4cf85079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
crew
crew
+3
-1
No files found.
crew
View file @
8fda6d9c
...
...
@@ -173,7 +173,9 @@ def download
url
=
@pkg
.
get_url
(
@device
[
:architecture
])
source
=
@pkg
.
is_source?
(
@device
[
:architecture
])
if
!
source
if
!
url
abort
"No precompiled binary for
#{
@device
[
:architecture
]
}
nor source is available."
elsif
!
source
puts
"Precompiled binary available, downloading..."
elsif
@pkg
.
build_from_source
puts
"Downloading source..."
...
...
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