From af40f7d133af48003b600a987bf514c26fe5763c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 10 May 2024 08:26:31 +0100 Subject: [PATCH] Revert "Create '.keepme' files in directories" --- Library/Homebrew/install.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 2e8293785d..fa6d55ef2b 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -327,12 +327,6 @@ module Homebrew def attempt_directory_creation Keg::MUST_EXIST_DIRECTORIES.each do |dir| FileUtils.mkdir_p(dir) unless dir.exist? - - # Create these files to ensure that these directories aren't removed - # by the Catalina installer. - # (https://github.com/Homebrew/brew/issues/6263) - keep_file = dir/".keepme" - FileUtils.touch(keep_file) unless keep_file.exist? rescue nil end