aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update-report.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 4de380a77..7d17056b2 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -149,7 +149,13 @@ module Homebrew
else
ohai "Deleting #{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