From 6d384a730f08ad01c7c3bcfb127bd9dd5e329a18 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 9 Dec 2015 20:40:42 +0000 Subject: [PATCH] brew: cask is now a tap command. So we can remove the formula installation from `brew.rb`. Closes Homebrew/homebrew#46843. Signed-off-by: Mike McQuaid --- Library/brew.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Library/brew.rb b/Library/brew.rb index 69a0b68e55..9d5ed7a425 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -162,21 +162,8 @@ begin Tap.fetch("Homebrew", "services") end - command_installed = false - if possible_tap && !possible_tap.installed? possible_tap.install - command_installed = true - end - - if cmd == "cask" && (brew_cask = Formulary.factory("brew-cask")) \ - && !brew_cask.installed? - require "cmd/install" - Homebrew.install_formula(brew_cask) - command_installed = true - end - - if command_installed exec HOMEBREW_BREW_FILE, cmd, *ARGV else onoe "Unknown command: #{cmd}"