aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-26 14:31:45 +0000
committerGitHub2016-11-26 14:31:45 +0000
commit5dd8f45cb876779a9159e9b945b4c2f4699a379c (patch)
tree60fdf93434bad96e5b0988d71791e88428fa876b /Library
parent118f0520578ba99e8b48d0c988b126d03d4ee444 (diff)
parent3469190c30ecc85a327f29baee4d370f4f3dfa72 (diff)
downloadbrew-5dd8f45cb876779a9159e9b945b4c2f4699a379c.tar.bz2
Merge pull request #1577 from MikeMcQuaid/more-analytics-tweaks
update-report: further tweak analytics output.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update-report.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 355af5da7..b4c18c9a3 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -26,16 +26,16 @@ 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_THIS_RUN"]
+ !ENV["HOMEBREW_NO_ANALYTICS"]
ENV["HOMEBREW_NO_ANALYTICS_THIS_RUN"] = "1"
# Use the shell's audible bell.
print "\a"
# Use an extra newline and bold to avoid this being missed.
- ohai <<-EOS.undent
- Homebrew has enabled anonymous aggregate user behaviour analytics
- Read the analytics documentation (and how to opt-out) here:
- https://git.io/brew-analytics
+ ohai "Homebrew has enabled anonymous aggregate user behaviour analytics."
+ puts <<-EOS.undent
+ #{Tty.bold}Read the analytics documentation (and how to opt-out) here:
+ #{Formatter.url("https://git.io/brew-analytics")}#{Tty.reset}
EOS