aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorAlex Dunn2015-11-09 07:25:26 -0800
committerAlex Dunn2015-11-09 07:25:26 -0800
commit95bbd8ef0274285d7d778ec059cbccdd7e402cb5 (patch)
treeb4a626050d332e27b1b439d875a84378feabe3c1 /Library/Homebrew/cmd/install.rb
parentac6b22fd696c02df6b3c53a13afe1a4b5e6922b4 (diff)
downloadbrew-95bbd8ef0274285d7d778ec059cbccdd7e402cb5.tar.bz2
cmd/install: check before tapping
Changes introduced in dfdc570abcd7c19a7b385c2fe8c6b26b12bca646 were causing installations using fully-qualified formula names to fail.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 755d944dc..a1e13d9e6 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -19,7 +19,7 @@ module Homebrew
user = $1
repo = $2.sub(/^homebrew-/, "")
tap = Tap.fetch(user, repo)
- tap.install
+ tap.install unless tap.installed?
end
end unless ARGV.force?