Merge pull request #5727 from MikeMcQuaid/brew-cask-uninstall

brew.rb: don't try to uninstall brew-cask keg.
This commit is contained in:
Mike McQuaid 2019-02-13 18:33:53 +00:00 committed by GitHub
commit ff898bcb4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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