mirror of
https://github.com/gosticks/brew.git
synced 2026-08-14 21:50:20 +00:00
Merge pull request #1013 from MikeMcQuaid/migrate-create-top-level-after
update-report: create top-level directories later.
This commit is contained in:
@@ -191,10 +191,6 @@ module Homebrew
|
||||
return
|
||||
end
|
||||
|
||||
Keg::ALL_TOP_LEVEL_DIRECTORIES.each do |dir|
|
||||
FileUtils.mkdir_p "#{HOMEBREW_PREFIX}/#{dir}"
|
||||
end
|
||||
|
||||
new_homebrew_repository = Pathname.new "/usr/local/Homebrew"
|
||||
if new_homebrew_repository.exist?
|
||||
ofail <<-EOS.undent
|
||||
@@ -254,6 +250,10 @@ module Homebrew
|
||||
EOS
|
||||
end
|
||||
|
||||
Keg::ALL_TOP_LEVEL_DIRECTORIES.each do |dir|
|
||||
FileUtils.mkdir_p "#{HOMEBREW_PREFIX}/#{dir}"
|
||||
end
|
||||
|
||||
src = Pathname.new("#{new_homebrew_repository}/bin/brew")
|
||||
dst = Pathname.new("#{HOMEBREW_PREFIX}/bin/brew")
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user