From a5cfc011e01f6a57f9251ee6dc88f706d2af79ed Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sun, 6 Mar 2016 14:50:33 +0800 Subject: various: Homebrew/core is the core tap Also make `Homebrew/homebrew` as an alias of this tap to keep backward compatibility. --- Library/Homebrew/cmd/readall.rb | 1 - Library/Homebrew/cmd/tap-info.rb | 2 -- 2 files changed, 3 deletions(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3