aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/bottles.rb
diff options
context:
space:
mode:
authorMike McQuaid2012-11-25 14:33:52 +0000
committerMike McQuaid2012-12-01 12:45:23 +0000
commitc4fb2b73e2602c07e02a78360ef9de59d417ca37 (patch)
treee8452a683d76d73010f5e68ee23d53f8719e45bb /Library/Homebrew/bottles.rb
parent92c971fbb40c2212136c38fdb77fdb750e14a345 (diff)
downloadbrew-c4fb2b73e2602c07e02a78360ef9de59d417ca37.tar.bz2
Support installing bottles from local files.
Diffstat (limited to 'Library/Homebrew/bottles.rb')
-rw-r--r--Library/Homebrew/bottles.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index a060d671e..ff316f925 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -11,6 +11,7 @@ end
def install_bottle? f
return true if ARGV.include? '--install-bottle'
+ return true if f.downloader and f.downloader.local_bottle_path
not ARGV.build_from_source? \
and MacOS.bottles_supported? \
and ARGV.used_options(f).empty? \