From 7e3ebdeb7cd68c6222fbcb40463b40c270a16eab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 23 Jan 2009 17:59:10 +0100 Subject: Added support for global hooks via .pkg.conf --- bin/pkg | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/pkg') diff --git a/bin/pkg b/bin/pkg index ca09a53..91bcab6 100755 --- a/bin/pkg +++ b/bin/pkg @@ -378,6 +378,7 @@ function global_hook { update_provides $1 'remove' ;; esac + (( $+functions[pkg_hook_$2] )) && pkg_hook_$2 $1 } # Set the correct origin -- cgit v1.2.3