diff options
| author | Alex | 2016-09-21 10:56:26 -0700 |
|---|---|---|
| committer | GitHub | 2016-09-21 10:56:26 -0700 |
| commit | 3c31e29d5c46720ed51b7a75a863e2ff4577439f (patch) | |
| tree | f90c69784c785941074c0ec8e55059462ca66cd1 /Library | |
| parent | d282565bd08bacf5aa03418e26d3fe9e7b0869cb (diff) | |
| download | brew-3c31e29d5c46720ed51b7a75a863e2ff4577439f.tar.bz2 | |
Simplify accessibility access disable warnings
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/installer.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/installer.rb b/Library/Homebrew/cask/lib/hbc/installer.rb index 7c1006b8a..e3e83eff2 100644 --- a/Library/Homebrew/cask/lib/hbc/installer.rb +++ b/Library/Homebrew/cask/lib/hbc/installer.rb @@ -253,12 +253,7 @@ class Hbc::Installer def disable_accessibility_access return unless @cask.accessibility_access - if MacOS.version <= :mountain_lion - opoo <<-EOS.undent - Accessibility access was enabled for #{@cask}, but it is not safe to disable - automatically on this version of macOS. See System Preferences. - EOS - elsif MacOS.version <= :el_capitan + if MacOS.version >= :mavericks && MacOS.version <= :el_capitan ohai "Disabling accessibility access" @command.run!("/usr/bin/sqlite3", args: [ |
