forked from kiss-community/kiss
kiss: expose owner user to hooks
This commit is contained in:
parent
94944ac5a4
commit
f122076086
3
kiss
3
kiss
@ -1574,8 +1574,9 @@ pkg_update_repo() {
|
|||||||
|
|
||||||
# arg1: pre-update
|
# arg1: pre-update
|
||||||
# arg2: need su?
|
# arg2: need su?
|
||||||
|
# arg3: owner
|
||||||
# env: PWD is path to repository
|
# env: PWD is path to repository
|
||||||
run_hook pre-update "$#"
|
run_hook pre-update "$#" "$user"
|
||||||
|
|
||||||
case $repo_type in git)
|
case $repo_type in git)
|
||||||
pkg_update_git "$@"
|
pkg_update_git "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user