aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-12-09 20:40:42 +0000
committerMike McQuaid2015-12-10 09:31:39 +0000
commit6d384a730f08ad01c7c3bcfb127bd9dd5e329a18 (patch)
tree06b1fbece79ad71b00884bd59de850f5e60d1d46 /Library
parent6d1959b265d8ccee81bd32f59bb71b71b070a06a (diff)
downloadbrew-6d384a730f08ad01c7c3bcfb127bd9dd5e329a18.tar.bz2
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/brew.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index 69a0b68e5..9d5ed7a42 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}"