aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb
index 7222f7e87..1724bfa44 100644
--- a/Library/Homebrew/brew.rb
+++ b/Library/Homebrew/brew.rb
@@ -154,7 +154,8 @@ rescue MethodDeprecatedError => e
rescue Exception => e
Utils::Analytics.report_exception(e)
onoe e
- if internal_cmd && defined?(OS::ISSUES_URL)
+ if internal_cmd && defined?(OS::ISSUES_URL) &&
+ !ENV["HOMEBREW_NO_AUTO_UPDATE"]
$stderr.puts "#{Tty.bold}Please report this bug:#{Tty.reset}"
$stderr.puts " #{Formatter.url(OS::ISSUES_URL)}"
end