From 0a2bfa66fdf0ca7d3888740ad7d96d6b5a3ba4b2 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Wed, 22 Nov 2017 10:38:06 -0800 Subject: [PATCH] Installing casks is supported only on macOS --- Library/Homebrew/cask/lib/hbc/cli/install.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cask/lib/hbc/cli/install.rb b/Library/Homebrew/cask/lib/hbc/cli/install.rb index 9a2116e6ac..d8f148b1ba 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/install.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/install.rb @@ -10,6 +10,7 @@ module Hbc end def run + odie "Installing casks is supported only on macOS" unless OS.mac? casks.each do |cask| begin Installer.new(cask, binaries: binaries?,