From 0118728e66c9a64277741086fd577c6907ea3792 Mon Sep 17 00:00:00 2001 From: beech Date: Wed, 19 Feb 2025 18:20:42 -0600 Subject: [PATCH] Reflector fix --- install1.sh | 9 ++++++--- install2.sh | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/install1.sh b/install1.sh index 2be7453..60dc6ac 100644 --- a/install1.sh +++ b/install1.sh @@ -62,9 +62,12 @@ echo "Setting Mirrorlist" echo "-------------------------------------------------" cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup -pacman -Sy archlinux-keyring --noconfirm -pacman -S pacman-contrib reflector --noconfirm --needed -reflector --country US --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist +pacman -Sy +pacman -S archlinux-keyring --noconfirm +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 echo "-------------------------------------------------" diff --git a/install2.sh b/install2.sh index 1e8cbc8..3429109 100644 --- a/install2.sh +++ b/install2.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash 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