Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

formula_installer: warn on bottles being skipped.

We want to notify users that non-/usr/local installs may result in some
bottles being not used.

References #18540
  • Loading branch information...
commit b014824a38da1f0775ab8ff98ea33cf5684fbdb0 1 parent 6731611
@mikemcquaid mikemcquaid authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 Library/Homebrew/formula_installer.rb
View
6 Library/Homebrew/formula_installer.rb
@@ -24,8 +24,8 @@ def initialize ff
check_install_sanity
end
- def pour_bottle?
- (tab.used_options.empty? rescue true) && options.empty? && install_bottle?(f)
+ def pour_bottle? warn=false
+ (tab.used_options.empty? rescue true) && options.empty? && install_bottle?(f, warn)
end
def check_install_sanity
@@ -94,7 +94,7 @@ def install
poured_bottle = false
begin
- if pour_bottle?
+ if pour_bottle? true
pour
@poured_bottle = true
tab = Tab.for_keg f.prefix
Please sign in to comment.
Something went wrong with that request. Please try again.