From ce9ecfa7b2fb945fc035e6bf374b10bbd3824d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Tue, 16 Mar 2021 20:46:11 +0300 Subject: [PATCH] Added git noconfirm to install script --- arch-setup/chroot.sh | 3 +-- install.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch-setup/chroot.sh b/arch-setup/chroot.sh index c3d31ecb..9958352d 100755 --- a/arch-setup/chroot.sh +++ b/arch-setup/chroot.sh @@ -62,8 +62,7 @@ cat << EOF > /boot/refind_linux.conf "Boot with encryption" "root=/dev/mapper/root resume=/dev/mapper/swap cryptdevice=UUID=$(blkid -s UUID -o value $(cat /install/device)3):root:allow-discards cryptkey=UUID=$uuid:vfat:key.yeet rw loglevel=3 quiet splash" EOF -cat /install/nonAUR.txt | xargs pacman -S --needed --noconfirm -yay -S $(cat /install/AUR.txt) +xargs pacman -S --needed --noconfirm $(/install/nonAUR.txt) refind-install diff --git a/install.sh b/install.sh index b5f586a2..83f11ce9 100755 --- a/install.sh +++ b/install.sh @@ -3,8 +3,8 @@ # Install packages echo "Running update" sudo pacman -Syu -sudo pacman --needed -S $(cat ~/.dotfiles/chroot/nonAUR.txt) -yay -S --needed $(cat ~/.dotfiles/chroot/AUR.txt) +sudo pacman --noconfirm --needed -S $(cat ~/.dotfiles/chroot/nonAUR.txt) +yay -S --noconfirm --needed $(cat ~/.dotfiles/chroot/AUR.txt) # Initial cleanup echo "Backing up your previous dotfiles to ~/.dotfiles_backup"