aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-11-05 10:58:19 -0400
committerMike McQuaid2016-11-05 10:58:39 -0400
commitc7de142800e2bc8fe169aa8bf53de88b65d5784e (patch)
treef063149b027289b60bb65cb74f8d74598059fc18
parent6c9ca906af240a3112a5775c9fc6f5359a0cb537 (diff)
downloadbrew-c7de142800e2bc8fe169aa8bf53de88b65d5784e.tar.bz2
os: don't tell people to report unsupported version issues.
-rw-r--r--Library/Homebrew/os.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/os.rb b/Library/Homebrew/os.rb
index b49bbff64..f6fe1eb81 100644
--- a/Library/Homebrew/os.rb
+++ b/Library/Homebrew/os.rb
@@ -13,7 +13,10 @@ module OS
if OS.mac?
require "os/mac"
- ISSUES_URL = "https://git.io/brew-troubleshooting".freeze
+ # Don't tell people to report issues on unsupported versions of macOS.
+ if !OS::Mac.prerelease? && !OS::Mac.outdated_release?
+ ISSUES_URL = "https://git.io/brew-troubleshooting".freeze
+ end
PATH_OPEN = "/usr/bin/open".freeze
# compatibility
::MACOS_FULL_VERSION = OS::Mac.full_version.to_s.freeze