diff options
| author | Mike McQuaid | 2016-11-26 15:14:21 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-11-26 15:14:21 +0000 |
| commit | d41e2ea5e8714d80948033c04165137f0d46e9ac (patch) | |
| tree | 54871c1f98eda3fda89aa727fc6de57b756e9751 /Library | |
| parent | 5dd8f45cb876779a9159e9b945b4c2f4699a379c (diff) | |
| download | brew-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.rb | 2 |
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" |
