aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorXu Cheng2016-03-06 14:50:33 +0800
committerXu Cheng2016-04-02 21:51:36 +0800
commita5cfc011e01f6a57f9251ee6dc88f706d2af79ed (patch)
treeb1730091d6e855fc5e7507fb2825b34b59c95e68 /Library/Homebrew/cmd
parentc5132daf630f3854e0b0a115bfee820aba334a02 (diff)
downloadbrew-a5cfc011e01f6a57f9251ee6dc88f706d2af79ed.tar.bz2
various: Homebrew/core is the core tap
Also make `Homebrew/homebrew` as an alias of this tap to keep backward compatibility.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/readall.rb1
-rw-r--r--Library/Homebrew/cmd/tap-info.rb2
2 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/readall.rb b/Library/Homebrew/cmd/readall.rb
index f006838ea..339819f0d 100644
--- a/Library/Homebrew/cmd/readall.rb
+++ b/Library/Homebrew/cmd/readall.rb
@@ -38,7 +38,6 @@ module Homebrew
if ARGV.named.empty?
formulae = Formula.files
alias_dirs = Tap.map(&:alias_dir)
- alias_dirs.unshift CoreTap.instance.alias_dir
else
tap = Tap.fetch(ARGV.named.first)
raise TapUnavailableError, tap.name unless tap.installed?
diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb
index 0a59341ff..683a2848d 100644
--- a/Library/Homebrew/cmd/tap-info.rb
+++ b/Library/Homebrew/cmd/tap-info.rb
@@ -10,8 +10,6 @@ module Homebrew
end
end
- raise "#{tap} is not allowed" if taps.any?(&:core_tap?)
-
if ARGV.json == "v1"
print_tap_json(taps)
else