Use "yes" instead of noconfirm for Chaotic-AUR

noconfirm doesn't always answer yes, which can terminate package installation process in case of conflicts.
This commit is contained in:
Kron4ek 2021-04-12 00:32:56 +05:00 committed by GitHub
parent fa55e03196
commit 70c5549a29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -424,13 +424,13 @@ if [ -n "${chaotic_packagelist}" ]; then
run_in_chroot pacman -Syu --noconfirm
run_in_chroot pacman --noconfirm -Rdd wine-staging
run_in_chroot pacman --noconfirm -S ${chaotic_packagelist}
run_in_chroot bash -c "yes | pacman -S ${chaotic_packagelist}"
fi
unmount_chroot
rm "${bootstrap}"/var/cache/pacman/pkg/*
rm -f "${bootstrap}"/opt/*
rm -f "${bootstrap}"/var/cache/pacman/pkg/*
mkdir "${bootstrap}"/media
touch "${bootstrap}"/etc/asound.conf