aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchsetup6
1 files changed, 5 insertions, 1 deletions
diff --git a/archsetup b/archsetup
index 566a186..88b7c2e 100755
--- a/archsetup
+++ b/archsetup
@@ -595,7 +595,11 @@ pacman_install() {
# AUR Install
aur_install() {
- retry_install "$1" "AUR" "sudo -u \"$username\" yay -S --noconfirm \"$1\""
+ # --answerdiff/--answerclean None: yay's diff and clean menus aren't covered
+ # by --noconfirm, so on a headless install they block forever waiting for
+ # input (seen hanging on a "Diffs to show?" prompt when build files exist).
+ # None means show no diffs and don't clean -- the right answer for unattended.
+ retry_install "$1" "AUR" "sudo -u \"$username\" yay -S --noconfirm --answerdiff None --answerclean None \"$1\""
}
# Git Install