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.
This commit is contained in:
parent
9085e67e80
commit
8108106cf9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user