os: no “READ THIS” in unsupported configurations.
This commit is contained in:
parent
c3a46bc570
commit
8258ecc3ca
@ -15,8 +15,12 @@ module OS
|
|||||||
|
|
||||||
if OS.mac?
|
if OS.mac?
|
||||||
require "os/mac"
|
require "os/mac"
|
||||||
# Don't tell people to report issues on unsupported versions of macOS.
|
# Don't tell people to report issues on unsupported configurations.
|
||||||
if !OS::Mac.prerelease? && !OS::Mac.outdated_release?
|
if !OS::Mac.prerelease? &&
|
||||||
|
!OS::Mac.outdated_release? &&
|
||||||
|
!ENV["HOMEBREW_BUILD_FROM_SOURCE"] &&
|
||||||
|
ARGV.none? { |v| v.start_with?("--cc=") } &&
|
||||||
|
ENV["HOMEBREW_PREFIX"] == "/usr/local"
|
||||||
ISSUES_URL = "https://docs.brew.sh/Troubleshooting".freeze
|
ISSUES_URL = "https://docs.brew.sh/Troubleshooting".freeze
|
||||||
end
|
end
|
||||||
PATH_OPEN = "/usr/bin/open".freeze
|
PATH_OPEN = "/usr/bin/open".freeze
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user