summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg1
1 files changed, 1 insertions, 0 deletions
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