diff --git a/Library/Homebrew/cask/installer.rb b/Library/Homebrew/cask/installer.rb index fcfcb50d4b..8148e50d35 100644 --- a/Library/Homebrew/cask/installer.rb +++ b/Library/Homebrew/cask/installer.rb @@ -341,7 +341,7 @@ on_request: true) missing_formulae_and_casks = missing_cask_and_formula_dependencies if missing_formulae_and_casks.empty? - puts "All formula dependencies satisfied." + puts "All dependencies satisfied." return end diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 74f59b1729..68ef04f08d 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -290,7 +290,7 @@ module Homebrew ) end - return if installed_formulae.empty? + return if formulae.any? && installed_formulae.empty? Install.perform_preinstall_checks(cc: args.cc)