From 70c5549a2995dc61d05f79803d5110f58f8617a9 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Mon, 12 Apr 2021 00:32:56 +0500 Subject: [PATCH] Use "yes" instead of noconfirm for Chaotic-AUR noconfirm doesn't always answer yes, which can terminate package installation process in case of conflicts. --- create-arch-bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/create-arch-bootstrap.sh b/create-arch-bootstrap.sh index 88401c1..639103b 100755 --- a/create-arch-bootstrap.sh +++ b/create-arch-bootstrap.sh @@ -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