formula: activate env extensions for postinstall

This commit is contained in:
Seeker 2020-12-18 12:35:06 -08:00
parent 18e414683d
commit 19c118d002

View File

@ -1049,6 +1049,7 @@ class Formula
with_env(new_env) do
ENV.clear_sensitive_environment!
ENV.activate_extensions!
etc_var_dirs = [bottle_prefix/"etc", bottle_prefix/"var"]
T.unsafe(Find).find(*etc_var_dirs.select(&:directory?)) do |path|