Use yes instead of noconfirm for yay

Should fix installation of AUR packages when they conflict with already installed packages.

#152
This commit is contained in:
Kron4ek 2024-08-01 12:10:52 +03:00 committed by GitHub
parent 59140999cb
commit f54f0cb9de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,7 +172,7 @@ install_aur_packages () {
fi
for i in {1..10}; do
if yay --needed --noconfirm --removemake --builddir /home/aur -a -S ${aur_pkgs}; then
if yes | yay --needed --removemake --builddir /home/aur -a -S ${aur_pkgs}; then
break
fi
done