From 1c3586eb2fd840490545ca0a029589f8e70f5871 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 22 Apr 2026 23:59:23 -0400 Subject: [PATCH] deploy.sh: pass -H to sudo so pip doesn't warn about user cache. Without -H, sudo keeps HOME pointed at the invoking user, so pip running as root tries to write to /home//.cache/pip and disables caching with a warning. -H resets HOME to /root while -E preserves the rest. Co-Authored-By: Claude Opus 4.7 --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 48adfba..2790150 100755 --- a/deploy.sh +++ b/deploy.sh @@ -22,7 +22,7 @@ CONFIG_DIR="/etc/pipekit" SECRETS_FILE="$CONFIG_DIR/secrets.env" if [ "$EUID" -ne 0 ]; then - exec sudo -E "$0" "$@" + exec sudo -H -E "$0" "$@" fi echo "== pipekit deploy =="