Disable tapping of caskroom taps.

This commit is contained in:
Markus Reiter 2019-10-02 23:30:38 +02:00
parent 6c2b9ffdc1
commit bd666fbc79

View File

@ -241,6 +241,8 @@ class Tap
if official? && DEPRECATED_OFFICIAL_TAPS.include?(repo) 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 as all its formulae were migrated."
elsif user == "caskroom"
odie "#{name} was moved. Tap homebrew/cask-#{repo} instead."
end end
if installed? && force_auto_update.nil? if installed? && force_auto_update.nil?