From 20d60a11f7ad1f803a05903e1b4cff12fa71d2ca Mon Sep 17 00:00:00 2001 From: tmcnulty387 Date: Wed, 3 Dec 2025 13:23:41 -0500 Subject: [PATCH] Set PACMAN_AUTH to prevent repeated sudo password prompts --- sdata/dist-arch/install-deps.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdata/dist-arch/install-deps.sh b/sdata/dist-arch/install-deps.sh index 3cd43d6ba..ecbb3b907 100644 --- a/sdata/dist-arch/install-deps.sh +++ b/sdata/dist-arch/install-deps.sh @@ -43,6 +43,11 @@ if ! command -v pacman >/dev/null 2>&1; then exit 1 fi +# Keep makepkg from resetting sudo credentials +if [[ -z "${PACMAN_AUTH:-}" ]]; then + export PACMAN_AUTH="sudo" +fi + showfun remove_deprecated_dependencies v remove_deprecated_dependencies