mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
18 lines
329 B
Ruby
18 lines
329 B
Ruby
#: * `postinstall` <formula>:
|
|
#: Rerun the post-install steps for <formula>.
|
|
|
|
require "sandbox"
|
|
require "formula_installer"
|
|
|
|
module Homebrew
|
|
module_function
|
|
|
|
def postinstall
|
|
ARGV.resolved_formulae.each do |f|
|
|
ohai "Postinstalling #{f}"
|
|
fi = FormulaInstaller.new(f)
|
|
fi.post_install
|
|
end
|
|
end
|
|
end
|