Skip to content
Snippets Groups Projects
Commit d41e2ea5 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

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.
parent 5dd8f45c
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment