Skip to content

Commit

Permalink
Merge pull request #17071 from cho-m/keg-postgresql-main-mkpath
Browse files Browse the repository at this point in the history
keg: mkpath on main `postgresql@X` directories
  • Loading branch information
MikeMcQuaid committed Apr 11, 2024
2 parents e8b142d + 514059d commit 707abc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Library/Homebrew/keg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def link(verbose: false, dry_run: false, overwrite: false)
link_dir("sbin", verbose:, dry_run:, overwrite:) { :skip_dir }
link_dir("include", verbose:, dry_run:, overwrite:) do |relative_path|
case relative_path.to_s
when %r{^postgresql@\d+/}
when /^postgresql@\d+/
:mkpath
else
:link
Expand All @@ -446,7 +446,7 @@ def link(verbose: false, dry_run: false, overwrite: false)
/^fish/,
%r{^lua/}, # Lua, Lua51, Lua53 all need the same handling.
%r{^guile/},
%r{^postgresql@\d+/},
/^postgresql@\d+/,
*SHARE_PATHS
:mkpath
else
Expand All @@ -470,7 +470,7 @@ def link(verbose: false, dry_run: false, overwrite: false)
/^ocaml/,
/^perl5/,
"php",
%r{^postgresql@\d+/},
/^postgresql@\d+/,
/^python[23]\.\d+/,
/^R/,
/^ruby/
Expand Down

0 comments on commit 707abc9

Please sign in to comment.