diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/requirement.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index cb957af32..b3acbe665 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -33,6 +33,10 @@ class Requirement !!result end + # Can overridden to optionally prevent a formula with this requirement from + # pouring a bottle. + def pour_bottle?; true end + # Overriding #fatal? is deprecated. # Pass a boolean to the fatal DSL method instead. def fatal? |
