diff options
| author | Jack Nagel | 2014-03-02 00:19:37 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-03-02 00:21:13 -0600 |
| commit | ffbe5bf22c6382fa0d06055311466bc4ab65accf (patch) | |
| tree | 723dc94cac65df1611d4e222a542cc36accd8fd1 /Library/Homebrew/cmd/install.rb | |
| parent | ea85812c589c9a27b77aa871d970928a8820406c (diff) | |
| download | brew-ffbe5bf22c6382fa0d06055311466bc4ab65accf.tar.bz2 | |
Let commands decide what mode the installer should use
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index cd3c3c8d2..774a28472 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -104,6 +104,8 @@ module Homebrew extend self def install_formula f fi = FormulaInstaller.new(f) + fi.ignore_deps = ARGV.ignore_deps? || ARGV.interactive? + fi.only_deps = ARGV.only_deps? fi.install fi.caveats fi.finish |
