aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorWilliam Woodruff2015-08-17 00:39:25 -0400
committerMisty De Meo2015-08-21 11:02:33 -0700
commit12b25f59cc1532690e8069efaadf35b0384dade3 (patch)
treea2ee0ff62ac4a5fe127f4273b773a3835f427385 /Library
parent56795ec1ed4f32d770afb50f65fc7e4e007e42f9 (diff)
downloadbrew-12b25f59cc1532690e8069efaadf35b0384dade3.tar.bz2
Only print dep installation notice when deps will be installed
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb2
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