aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/postinstall.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/postinstall.rb')
-rw-r--r--Library/Homebrew/cmd/postinstall.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/postinstall.rb b/Library/Homebrew/cmd/postinstall.rb
index e0bd8e31b..1e205e65d 100644
--- a/Library/Homebrew/cmd/postinstall.rb
+++ b/Library/Homebrew/cmd/postinstall.rb
@@ -4,6 +4,8 @@
require "sandbox"
module Homebrew
+ module_function
+
def postinstall
ARGV.resolved_formulae.each { |f| run_post_install(f) if f.post_install_defined? }
end