Commit 8fda6d9c authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #623 from jam7/no-source-check

Change to abort if no precompiled binary nor source is available
parents 9f98e272 4cf85079
......@@ -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..."
......
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