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.
This commit is contained in:
parent
5dd8f45cb8
commit
d41e2ea5e8
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user