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

update-report: recreate migration_attempted_file.

If the deletion of `HOMEBREW_CACHE` fails then the
`.migration_attempted` file will have still been deleted so ensure it is
recreated.
parent 9085e67e
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,7 @@ module Homebrew
else
ohai "Deleting #{legacy_cache}..."
FileUtils.rm_rf legacy_cache
FileUtils.touch migration_attempted_file if legacy_cache.exist?
end
end
end
......
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