Browse Source

Added git noconfirm to install script

main
Yiğit Çolakoğlu 4 years ago
parent
commit
ce9ecfa7b2
2 changed files with 3 additions and 4 deletions
  1. +1
    -2
      arch-setup/chroot.sh
  2. +2
    -2
      install.sh

+ 1
- 2
arch-setup/chroot.sh View File

@ -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" "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 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 refind-install


+ 2
- 2
install.sh View File

@ -3,8 +3,8 @@
# Install packages # Install packages
echo "Running update" echo "Running update"
sudo pacman -Syu 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 # Initial cleanup
echo "Backing up your previous dotfiles to ~/.dotfiles_backup" echo "Backing up your previous dotfiles to ~/.dotfiles_backup"


Loading…
Cancel
Save