Skip to content
Snippets Groups Projects
Commit c0cc7035 authored by Markus Reiter's avatar Markus Reiter
Browse files

update-report: Do not migrate `Caskroom` to `HOMEBREW_REPOSITORY`.

parent 6fe70190
No related branches found
No related tags found
No related merge requests found
......@@ -231,12 +231,8 @@ 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", "Caskroom",
extra_remove_paths = [".git", "Library/Locks", "Library/Taps",
"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