commit 25b322c5659d3f7722a2b3c368abf2e9d7dc8506
parent 7e643f03d11b0e97b9a95f430234884a5da1aa99
Author: phoebos <ben@bvnf.space>
Date: Tue, 2 Apr 2024 18:48:17 +0100
blog: fix hook again
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/blog/010-kiss-misc.html b/blog/010-kiss-misc.html
@@ -26,13 +26,13 @@ case $1 in</pre></code> as well as a copy of <code>log()</code> from kiss itself
<p>Firstly, one to update the man page database after installation. This is quicker than running just plain <code>makewhatis</code> because it only updates entries for the added files.
<code><pre>post-install)
- man="$(kiss mani "$PKG" | grep '/usr/share/man/man./.')" || :
+ man="$(kiss-manifest "$PKG" | grep '/usr/share/man/man./.')" || :
# shellcheck disable=2086
[ "$man" ] && {
log "$PKG" "Updating manpage database"
makewhatis -d "$KISS_ROOT/usr/share/man" $man
- }
-;;</pre></code></p>
+ } || :
+;;</pre></code>Note that I call <code>kiss-manifest</code> directly. Calling kiss from within a hook can be bad.</p>
<p>This is probably the most useful one - gives me a shell in the build directory if something goes wrong.
<code><pre>build-fail)