From 276ea50b770e83cf5b63220f69481d8cd0968796 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 14 Jul 2021 19:09:20 +0300 Subject: [PATCH] kiss-hooks: show package name --- contrib/kiss-hooks | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/kiss-hooks b/contrib/kiss-hooks index 35c919e..98d294c 100755 --- a/contrib/kiss-hooks +++ b/contrib/kiss-hooks @@ -2,6 +2,8 @@ # List all system-wide hooks for hook in "$KISS_ROOT/var/db/kiss/hooks/"*; do - printf '%s\n' "${hook##*/}" + owner=$(kiss owns "$hook") 2>/dev/null ||: + + printf '%s%s\n' "${owner:+"$owner "}" "${hook##*/}" done