brew.rb: don't try to uninstall brew-cask keg.

This is long gone at this point so no need to keep this code around.
This commit is contained in:
Mike McQuaid 2019-02-13 15:43:17 +00:00
parent bb6fe17a97
commit 948b367ac3
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -92,11 +92,6 @@ begin
# `Homebrew.help` never returns, except for external/unknown commands.
end
# Uninstall old brew-cask if it's still around; we just use the tap now.
if cmd == "cask" && (HOMEBREW_CELLAR/"brew-cask").exist?
system(HOMEBREW_BREW_FILE, "uninstall", "--force", "brew-cask")
end
if ENV["HOMEBREW_BUILD_FROM_SOURCE"]
odisabled("HOMEBREW_BUILD_FROM_SOURCE", "--build-from-source")
end