diff options
| author | Shaun Jackman | 2017-11-22 10:38:06 -0800 |
|---|---|---|
| committer | Shaun Jackman | 2017-11-22 10:38:06 -0800 |
| commit | 0a2bfa66fdf0ca7d3888740ad7d96d6b5a3ba4b2 (patch) | |
| tree | 872a28fabd2ef6c86645b91e15758416fd2f97c0 /Library | |
| parent | a869ce014394a0b1e97e74e71c7472e42aa26d04 (diff) | |
| download | brew-0a2bfa66fdf0ca7d3888740ad7d96d6b5a3ba4b2.tar.bz2 | |
Installing casks is supported only on macOS
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/install.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/install.rb b/Library/Homebrew/cask/lib/hbc/cli/install.rb index 9a2116e6a..d8f148b1b 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?, |
