aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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