diff --git a/crew b/crew index cfba45aa342eeb6df4bf2901f3daa673cabdd08c..eaeca3a8288778562a90d818b05f932f5731b8d0 100755 --- a/crew +++ b/crew @@ -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..."