aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorShaun Jackman2017-11-22 10:38:06 -0800
committerShaun Jackman2017-11-22 10:38:06 -0800
commit0a2bfa66fdf0ca7d3888740ad7d96d6b5a3ba4b2 (patch)
tree872a28fabd2ef6c86645b91e15758416fd2f97c0 /Library
parenta869ce014394a0b1e97e74e71c7472e42aa26d04 (diff)
downloadbrew-0a2bfa66fdf0ca7d3888740ad7d96d6b5a3ba4b2.tar.bz2
Installing casks is supported only on macOS
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/install.rb1
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?,