From 456b955c9295cc45e4ed84dd43ed830c58d331b1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 1 Sep 2013 13:56:35 +0100 Subject: brew-postinstall: add new command. Runs post-install jobs in case they failed or need rerun for any reason. --- Library/Homebrew/cmd/postinstall.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Library/Homebrew/cmd/postinstall.rb (limited to 'Library') diff --git a/Library/Homebrew/cmd/postinstall.rb b/Library/Homebrew/cmd/postinstall.rb new file mode 100644 index 000000000..db3125dc9 --- /dev/null +++ b/Library/Homebrew/cmd/postinstall.rb @@ -0,0 +1,7 @@ +require 'formula_installer' + +module Homebrew extend self + def postinstall + ARGV.formulae.each {|f| f.post_install } + end +end -- cgit v1.2.3