aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac/blacklist.rb
blob: edff4697e764c3a545168b203a94be0a4f2fdb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
def blacklisted?(name)
  case name.downcase
  when "xcode"
    if MacOS.version >= :lion
      <<-EOS.undent
      Xcode can be installed from the App Store.
      EOS
    else
      <<-EOS.undent
      Xcode can be installed from https://developer.apple.com/xcode/downloads/
      EOS
    end
  else
    generic_blacklisted?(name)
  end
end