update-report: Do not migrate Caskroom to HOMEBREW_REPOSITORY.
This commit is contained in:
parent
6fe7019020
commit
c0cc703516
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user