diff options
| author | William Woodruff | 2015-08-17 00:39:25 -0400 |
|---|---|---|
| committer | Misty De Meo | 2015-08-21 11:02:33 -0700 |
| commit | 12b25f59cc1532690e8069efaadf35b0384dade3 (patch) | |
| tree | a2ee0ff62ac4a5fe127f4273b773a3835f427385 /Library | |
| parent | 56795ec1ed4f32d770afb50f65fc7e4e007e42f9 (diff) | |
| download | brew-12b25f59cc1532690e8069efaadf35b0384dade3.tar.bz2 | |
Only print dep installation notice when deps will be installed
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 7bed505b7..1198e3f06 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -352,7 +352,7 @@ class FormulaInstaller if deps.empty? && only_deps? puts "All dependencies for #{formula.full_name} are satisfied." else - oh1 "Installing dependencies for #{formula.full_name}: #{Tty.green}#{deps.map(&:first)*", "}#{Tty.reset}" + oh1 "Installing dependencies for #{formula.full_name}: #{Tty.green}#{deps.map(&:first)*", "}#{Tty.reset}" unless deps.empty? deps.each { |dep, options| install_dependency(dep, options) } end |
