From a6bb1c5a26cc0c7086f2e3fb32d032c5dcac3ed7 Mon Sep 17 00:00:00 2001 From: phoebos Date: Tue, 16 May 2023 23:40:25 +0100 Subject: [PATCH] kiss: preserve KISS_HOOK for as_user actions Without KISS_HOOK exported to the privileged process, certain hooks can't be run (pre- and post-install at least). run_hook_pkg works, but not KISS_HOOK. Make sure it's preserved. --- kiss | 1 + 1 file changed, 1 insertion(+) diff --git a/kiss b/kiss index dd0f54a..31a1cef 100755 --- a/kiss +++ b/kiss @@ -2002,6 +2002,7 @@ args() { KISS_COLOR="$KISS_COLOR" \ KISS_COMPRESS="$KISS_COMPRESS" \ KISS_FORCE="$KISS_FORCE" \ + KISS_HOOK="$KISS_HOOK" \ KISS_PATH="$KISS_PATH" \ KISS_PID="$KISS_PID" \ KISS_ROOT="$KISS_ROOT" \