aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-26 15:14:21 +0000
committerMike McQuaid2016-11-26 15:14:21 +0000
commitd41e2ea5e8714d80948033c04165137f0d46e9ac (patch)
tree54871c1f98eda3fda89aa727fc6de57b756e9751 /Library
parent5dd8f45cb876779a9159e9b945b4c2f4699a379c (diff)
downloadbrew-d41e2ea5e8714d80948033c04165137f0d46e9ac.tar.bz2
update-report: allow skipping analytics message.
This is used by the install script so it can simplify it's logic and make the analytics messaging more prominent.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update-report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index b4c18c9a3..10b433dd2 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -26,7 +26,7 @@ module Homebrew
analytics_disabled = \
Utils.popen_read("git", "config", "--local", "--get", "homebrew.analyticsdisabled").chuzzle
if analytics_message_displayed != "true" && analytics_disabled != "true" &&
- !ENV["HOMEBREW_NO_ANALYTICS"]
+ !ENV["HOMEBREW_NO_ANALYTICS"] && !ENV["HOMEBREW_NO_ANALYTICS_MESSAGE_OUTPUT"]
ENV["HOMEBREW_NO_ANALYTICS_THIS_RUN"] = "1"
# Use the shell's audible bell.
print "\a"