Reflector fix

main
beech 1 year ago
parent 8325ed5f12
commit 0118728e66
  1. 9
      install1.sh
  2. 2
      install2.sh

@ -62,9 +62,12 @@ echo "Setting Mirrorlist"
echo "-------------------------------------------------" echo "-------------------------------------------------"
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
pacman -Sy archlinux-keyring --noconfirm pacman -Sy
pacman -S pacman-contrib reflector --noconfirm --needed pacman -S archlinux-keyring --noconfirm
reflector --country US --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist pacman -S pacman-contrib terminus-font --noconfirm --needed
sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf
pacman -S reflector --noconfirm --needed
reflector -a 48 -c "US" -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist
# install arch # install arch
echo "-------------------------------------------------" echo "-------------------------------------------------"

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
lsblk lsblk
echo "Specify drive name that you entered in the first script." echo "Specify drive name that you entered in the first script (ex. /dev/sda, /dev/nvme0n1)."
read -r -p "Enter the disk: " DISK read -r -p "Enter the disk: " DISK