aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements/unsigned_kext_requirement.rb
blob: 440684773e559a84adbfcea01bf89397ed6d35f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'requirement'

class UnsignedKextRequirement < Requirement
  fatal true

  satisfy { MacOS.version < :yosemite }

  def message
    <<-EOS.undent
      OS X Mavericks or older is required for this package.
      OS X Yosemite introduced a strict unsigned kext ban which breaks this package.
      You should remove this package from your system and attempt to find upstream
      binaries to use instead.
    EOS
  end
end