1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2025-01-21 18:04:40 -07:00

kiss: correct name of queue-status hook (#127)

In the documentation at
https://github.com/kisslinux/website/blob/master/site/wiki/package-manager.txt#L197,
and in kiss itself at
https://github.com/kisslinux/kiss/blob/master/kiss#L933, the hook
executed for each package in the queue is named "queue-status", but the
argument passed to the hook has been "queue". Some users may depend on
this; either this or the documentation should be corrected to match the
other.

Reviewed-on: https://codeberg.org/kiss-community/kiss/pulls/127
Co-authored-by: aabacchus <ben@bvnf.space>
Co-committed-by: aabacchus <ben@bvnf.space>
This commit is contained in:
aabacchus 2024-01-12 17:39:05 +00:00 committed by Pratham
parent b9a8f9fc28
commit 6228a93102

2
kiss
View File

@ -1045,7 +1045,7 @@ pkg_build_all() {
# arg2: package name
# arg3: number in queue
# arg4: total in queue
run_hook queue "$pkg" "$_build_cur" "$#"
run_hook queue-status "$pkg" "$_build_cur" "$#"
! [ -f "$repo_dir/sources" ] || pkg_extract "$pkg"