kiss: remove unneeded argument given to update hooks

- PWD in hooks is same value anyway.

See #234
This commit is contained in:
Dylan Araps 2021-07-14 21:40:33 +03:00
parent a024ef4663
commit aa0c62fe4a
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 2 deletions

4
kiss
View File

@ -1502,7 +1502,7 @@ pkg_update() {
contains "$repos" "$PWD" || {
repos="$repos $PWD "
run_hook pre-update "$PWD"
run_hook pre-update
# Display a tick if signing is enabled for this repository.
case $(git config merge.verifySignatures) in
@ -1533,7 +1533,7 @@ pkg_update() {
as_root git submodule update --remote --init -f
fi
run_hook post-update "$PWD"
run_hook post-update
}
done