aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/install.rb13
1 files changed, 2 insertions, 11 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index cbeb433eb..51c5ee24a 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -18,7 +18,8 @@ module Homebrew extend self
end
end unless ARGV.force?
- install_formulae ARGV.formulae
+ perform_preinstall_checks
+ ARGV.formulae.each { |f| install_formula(f) }
end
def check_ppc
@@ -69,16 +70,6 @@ module Homebrew extend self
check_cellar
end
- def install_formulae formulae
- formulae = [formulae].flatten.compact
- unless formulae.empty?
- perform_preinstall_checks
- formulae.each do |f|
- install_formula(f)
- end
- end
- end
-
def install_formula f
fi = FormulaInstaller.new(f)
fi.install