update-report: don't migrate on auto-update.

This commit is contained in:
Mike McQuaid 2016-09-20 08:02:52 +01:00
parent e22610aedd
commit 1f128331b6

View File

@ -99,8 +99,10 @@ module Homebrew
Homebrew.failed = true if ENV["HOMEBREW_UPDATE_FAILED"] Homebrew.failed = true if ENV["HOMEBREW_UPDATE_FAILED"]
# This should always be the last thing to run # This should always be the last thing to run (but skip on auto-update).
migrate_legacy_repository_if_necessary unless ARGV.include?("--preinstall")
migrate_legacy_repository_if_necessary
end
end end
private private