update-report: improve cache migration messaging.

This commit is contained in:
Mike McQuaid 2016-06-01 13:03:03 +01:00
parent 8108106cf9
commit 4a8fcae3cc

View File

@ -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