mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
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
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user