diff options
| author | Mike McQuaid | 2017-12-01 09:51:09 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-12-01 09:51:10 +0000 |
| commit | 8bbe9b744f627f1b3741b4b667e64ed797e6323a (patch) | |
| tree | 3c80e2fe8a925ad4412ef5bc6c428988839af945 /Library/Homebrew/formula_installer.rb | |
| parent | 23d99b4155fe9a97c6bf7bf052dd8354c935e6fa (diff) | |
| download | brew-8bbe9b744f627f1b3741b4b667e64ed797e6323a.tar.bz2 | |
hooks/bottles: remove bottle hooks.
These were removed from Boxen in:
https://github.com/boxen/puppet-homebrew/pull/108
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index b5c5e7fb5..0d21c9702 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -9,7 +9,6 @@ require "cleaner" require "formula_cellar_checks" require "install_renamed" require "cmd/postinstall" -require "hooks/bottles" require "debrew" require "sandbox" require "emoji" @@ -81,8 +80,6 @@ class FormulaInstaller end def pour_bottle?(install_bottle_options = { warn: false }) - return true if Homebrew::Hooks::Bottles.formula_has_bottle?(formula) - return false if @pour_failed return false if !formula.bottled? && !formula.local_bottle_path @@ -855,10 +852,6 @@ class FormulaInstaller end def pour - if Homebrew::Hooks::Bottles.formula_has_bottle?(formula) - return if Homebrew::Hooks::Bottles.pour_formula_bottle(formula) - end - if (bottle_path = formula.local_bottle_path) downloader = LocalBottleDownloadStrategy.new(bottle_path) else |
