From 12b25f59cc1532690e8069efaadf35b0384dade3 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 17 Aug 2015 00:39:25 -0400 Subject: [PATCH] Only print dep installation notice when deps will be installed --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 7bed505b72..1198e3f068 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