update-report: don't migrate on auto-update.
This commit is contained in:
		
							parent
							
								
									e22610aedd
								
							
						
					
					
						commit
						1f128331b6
					
				@ -99,8 +99,10 @@ module Homebrew
 | 
			
		||||
 | 
			
		||||
    Homebrew.failed = true if ENV["HOMEBREW_UPDATE_FAILED"]
 | 
			
		||||
 | 
			
		||||
    # This should always be the last thing to run
 | 
			
		||||
    migrate_legacy_repository_if_necessary
 | 
			
		||||
    # This should always be the last thing to run (but skip on auto-update).
 | 
			
		||||
    unless ARGV.include?("--preinstall")
 | 
			
		||||
      migrate_legacy_repository_if_necessary
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user