diff --git a/Library/Homebrew/official_taps.rb b/Library/Homebrew/official_taps.rb index 44fb542503d5b157d833a1a3a453e72e90463af4..c265035f5ce29f8a9d49d655c711da7998ae3d93 100644 --- a/Library/Homebrew/official_taps.rb +++ b/Library/Homebrew/official_taps.rb @@ -14,6 +14,7 @@ OFFICIAL_CMD_TAPS = { DEPRECATED_OFFICIAL_TAPS = %w[ apache binary + cask-eid completions devel-only dupes diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index f9f677921035955bc10a8c7cd33f2240c88408ae..1138cf6149da96c102380ec640bd8cbf7fe0c449 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -234,9 +234,10 @@ class Tap require "descriptions" if official? && DEPRECATED_OFFICIAL_TAPS.include?(repo) - odie "#{name} was deprecated. This tap is now empty as all its formulae were migrated." + odie "#{name} was deprecated. This tap is now empty and all its contents were either deleted or migrated." elsif user == "caskroom" - odie "#{name} was moved. Tap homebrew/cask-#{repo} instead." + new_repo = repo == "cask" ? "cask" : "cask-#{repo}" + odie "#{name} was moved. Tap homebrew/#{new_repo} instead." end requested_remote = clone_target || default_remote