Set PACMAN_AUTH to prevent repeated sudo password prompts (#2630)
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled

This commit is contained in:
Celestial.y
2025-12-04 07:36:55 +08:00
committed by GitHub
+5
View File
@@ -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