diff --git a/Library/Homebrew/cask/dsl/caveats.rb b/Library/Homebrew/cask/dsl/caveats.rb index 613324fd33..bc047275d0 100644 --- a/Library/Homebrew/cask/dsl/caveats.rb +++ b/Library/Homebrew/cask/dsl/caveats.rb @@ -71,10 +71,10 @@ module Cask caveat :unsigned_accessibility do |access = "Accessibility"| # access: the category in the privacy settings the app requires. - if MacOS.version < :ventura - navigation_path = "System Preferences → Security & Privacy → Privacy" + navigation_path = if MacOS.version < :ventura + "System Preferences → Security & Privacy → Privacy" else - navigation_path = "System Settings → Privacy & Security" + "System Settings → Privacy & Security" end <<~EOS