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

update-report: also migrate Caskroom.

parent 7a9934ff
No related branches found
No related tags found
No related merge requests found
......@@ -231,8 +231,12 @@ module Homebrew
FileUtils.cp_r "#{HOMEBREW_REPOSITORY}/Library/Taps", "#{new_homebrew_repository}/Library/Taps"
end
if (HOMEBREW_REPOSITORY/"Caskroom").exist?
FileUtils.cp_r "#{HOMEBREW_REPOSITORY}/Caskroom", "#{new_homebrew_repository}/Caskroom"
end
unremovable_paths = []
extra_remove_paths = [".git", "Library/Locks", "Library/Taps",
extra_remove_paths = [".git", "Library/Locks", "Library/Taps", "Caskroom"
"Library/Homebrew/cask", "Library/Homebrew/test"]
(repo_files + extra_remove_paths).each do |file|
path = Pathname.new "#{HOMEBREW_REPOSITORY}/#{file}"
......
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