From ffbe5bf22c6382fa0d06055311466bc4ab65accf Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 2 Mar 2014 00:19:37 -0600 Subject: Let commands decide what mode the installer should use --- Library/Homebrew/cmd/install.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Homebrew/cmd/install.rb') 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 -- cgit v1.2.3