From 626b56f9f6ad913f723b8fef3c5f515b7c4a3817 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 1 Sep 2013 13:56:35 +0100 Subject: [PATCH] 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 diff --git a/Library/Homebrew/cmd/postinstall.rb b/Library/Homebrew/cmd/postinstall.rb new file mode 100644 index 0000000000..db3125dc9d --- /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