diff options
| -rwxr-xr-x | archsetup | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
