From bd666fbc7934b5f4746e2f25e047e04b3d4830ac Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 2 Oct 2019 23:30:38 +0200 Subject: [PATCH] Disable tapping of `caskroom` taps. --- Library/Homebrew/tap.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 0d9cacdb62..dc7104dc58 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -241,6 +241,8 @@ class Tap if official? && DEPRECATED_OFFICIAL_TAPS.include?(repo) odie "#{name} was deprecated. This tap is now empty as all its formulae were migrated." + elsif user == "caskroom" + odie "#{name} was moved. Tap homebrew/cask-#{repo} instead." end if installed? && force_auto_update.nil?