Merge pull request #1577 from MikeMcQuaid/more-analytics-tweaks
update-report: further tweak analytics output.
This commit is contained in:
		
						commit
						5dd8f45cb8
					
				| @ -26,16 +26,16 @@ module Homebrew | |||||||
|       analytics_disabled = \ |       analytics_disabled = \ | ||||||
|         Utils.popen_read("git", "config", "--local", "--get", "homebrew.analyticsdisabled").chuzzle |         Utils.popen_read("git", "config", "--local", "--get", "homebrew.analyticsdisabled").chuzzle | ||||||
|       if analytics_message_displayed != "true" && analytics_disabled != "true" && |       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" |         ENV["HOMEBREW_NO_ANALYTICS_THIS_RUN"] = "1" | ||||||
|         # Use the shell's audible bell. |         # Use the shell's audible bell. | ||||||
|         print "\a" |         print "\a" | ||||||
| 
 | 
 | ||||||
|         # Use an extra newline and bold to avoid this being missed. |         # Use an extra newline and bold to avoid this being missed. | ||||||
|         ohai <<-EOS.undent |         ohai "Homebrew has enabled anonymous aggregate user behaviour analytics." | ||||||
|           Homebrew has enabled anonymous aggregate user behaviour analytics |         puts <<-EOS.undent | ||||||
|           Read the analytics documentation (and how to opt-out) here: |           #{Tty.bold}Read the analytics documentation (and how to opt-out) here: | ||||||
|             https://git.io/brew-analytics |             #{Formatter.url("https://git.io/brew-analytics")}#{Tty.reset} | ||||||
| 
 | 
 | ||||||
|         EOS |         EOS | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Mike McQuaid
						Mike McQuaid