Skip to content
Snippets Groups Projects
Commit 1f128331 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

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

parent e22610ae
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment