kiss: expose owner user to hooks

This commit is contained in:
Dylan Araps 2021-07-25 17:01:21 +03:00
parent 94944ac5a4
commit f122076086
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 1 deletions

3
kiss
View File

@ -1574,8 +1574,9 @@ pkg_update_repo() {
# arg1: pre-update
# arg2: need su?
# arg3: owner
# env: PWD is path to repository
run_hook pre-update "$#"
run_hook pre-update "$#" "$user"
case $repo_type in git)
pkg_update_git "$@"