Merge pull request #17071 from cho-m/keg-postgresql-main-mkpath
keg: mkpath on main `postgresql@X` directories
This commit is contained in:
commit
707abc97f2
@ -427,7 +427,7 @@ class Keg
|
|||||||
link_dir("sbin", verbose:, dry_run:, overwrite:) { :skip_dir }
|
link_dir("sbin", verbose:, dry_run:, overwrite:) { :skip_dir }
|
||||||
link_dir("include", verbose:, dry_run:, overwrite:) do |relative_path|
|
link_dir("include", verbose:, dry_run:, overwrite:) do |relative_path|
|
||||||
case relative_path.to_s
|
case relative_path.to_s
|
||||||
when %r{^postgresql@\d+/}
|
when /^postgresql@\d+/
|
||||||
:mkpath
|
:mkpath
|
||||||
else
|
else
|
||||||
:link
|
:link
|
||||||
@ -446,7 +446,7 @@ class Keg
|
|||||||
/^fish/,
|
/^fish/,
|
||||||
%r{^lua/}, # Lua, Lua51, Lua53 all need the same handling.
|
%r{^lua/}, # Lua, Lua51, Lua53 all need the same handling.
|
||||||
%r{^guile/},
|
%r{^guile/},
|
||||||
%r{^postgresql@\d+/},
|
/^postgresql@\d+/,
|
||||||
*SHARE_PATHS
|
*SHARE_PATHS
|
||||||
:mkpath
|
:mkpath
|
||||||
else
|
else
|
||||||
@ -470,7 +470,7 @@ class Keg
|
|||||||
/^ocaml/,
|
/^ocaml/,
|
||||||
/^perl5/,
|
/^perl5/,
|
||||||
"php",
|
"php",
|
||||||
%r{^postgresql@\d+/},
|
/^postgresql@\d+/,
|
||||||
/^python[23]\.\d+/,
|
/^python[23]\.\d+/,
|
||||||
/^R/,
|
/^R/,
|
||||||
/^ruby/
|
/^ruby/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user