cask/dsl/caveats: fix conditional
This commit is contained in:
parent
cc32d08c41
commit
b633dfd5a5
@ -141,7 +141,7 @@ module Cask
|
||||
end
|
||||
|
||||
caveat :requires_rosetta do
|
||||
next if !Hardware::CPU.arm? && Homebrew::SimulateSystem.current_arch != :arm
|
||||
next if !Hardware::CPU.arm? || Homebrew::SimulateSystem.current_arch != :arm
|
||||
|
||||
<<~EOS
|
||||
#{@cask} is built for Intel macOS and so requires Rosetta 2 to be installed.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user