Skip to content

Commit

Permalink
Merge pull request #18262 from cho-m/keg-no-rmdir-etc
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab authored Sep 6, 2024
2 parents 81bac6c + 39ab6d7 commit b511436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/keg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def unlink(verbose: false, dry_run: false)
unless dry_run
remove_old_aliases
remove_linked_keg_record if linked?
dirs.reverse_each(&:rmdir_if_possible)
(dirs - MUST_EXIST_SUBDIRECTORIES).reverse_each(&:rmdir_if_possible)
end

ObserverPathnameExtension.n
Expand Down

0 comments on commit b511436

Please sign in to comment.