Skip to content

Commit

Permalink
Merge pull request #17849 from bevanjkay/rosetta-regression
Browse files Browse the repository at this point in the history
  • Loading branch information
p-linnane authored Jul 25, 2024
2 parents cc32d08 + b633dfd commit e44adc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/dsl/caveats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def eval_caveats(&block)
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.
Expand Down

0 comments on commit e44adc2

Please sign in to comment.