update-report: improve cache migration messaging.
This commit is contained in:
parent
8108106cf9
commit
4a8fcae3cc
@ -149,7 +149,13 @@ module Homebrew
|
|||||||
else
|
else
|
||||||
ohai "Deleting #{legacy_cache}..."
|
ohai "Deleting #{legacy_cache}..."
|
||||||
FileUtils.rm_rf legacy_cache
|
FileUtils.rm_rf legacy_cache
|
||||||
FileUtils.touch migration_attempted_file if legacy_cache.exist?
|
if legacy_cache.exist?
|
||||||
|
FileUtils.touch migration_attempted_file
|
||||||
|
opoo <<-EOS.undent
|
||||||
|
Failed to delete #{legacy_cache}.
|
||||||
|
Please do so manually.
|
||||||
|
EOS
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user