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.
This commit is contained in:
phoebos 2023-05-16 23:40:25 +01:00
parent 1492cfa0a7
commit a6bb1c5a26
No known key found for this signature in database

1
kiss
View File

@ -2002,6 +2002,7 @@ args() {
KISS_COLOR="$KISS_COLOR" \ KISS_COLOR="$KISS_COLOR" \
KISS_COMPRESS="$KISS_COMPRESS" \ KISS_COMPRESS="$KISS_COMPRESS" \
KISS_FORCE="$KISS_FORCE" \ KISS_FORCE="$KISS_FORCE" \
KISS_HOOK="$KISS_HOOK" \
KISS_PATH="$KISS_PATH" \ KISS_PATH="$KISS_PATH" \
KISS_PID="$KISS_PID" \ KISS_PID="$KISS_PID" \
KISS_ROOT="$KISS_ROOT" \ KISS_ROOT="$KISS_ROOT" \