brew/Library/Homebrew/cmd/postinstall.rb

18 lines
329 B
Ruby
Raw Normal View History

#: * `postinstall` <formula>:
#: Rerun the post-install steps for <formula>.
require "sandbox"
require "formula_installer"
module Homebrew
2016-09-26 01:44:51 +02:00
module_function
def postinstall
ARGV.resolved_formulae.each do |f|
ohai "Postinstalling #{f}"
fi = FormulaInstaller.new(f)
fi.post_install
end
end
end