contrib: added kiss-hooks to list system-wide hooks.

See #229
This commit is contained in:
Dylan Araps 2021-07-14 18:58:44 +03:00
parent 7d256b203c
commit 06ace10d8a
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 7 additions and 0 deletions

7
contrib/kiss-hooks Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh -e
# List all system-wide hooks
for hook in "$KISS_ROOT/var/db/kiss/hooks/"*; do
printf '%s\n' "${hook##*/}"
done