|
|
|
@ -66,12 +66,7 @@ pacman -Sy |
|
|
|
pacman -S archlinux-keyring --noconfirm |
|
|
|
pacman -S archlinux-keyring --noconfirm |
|
|
|
pacman -S pacman-contrib terminus-font --noconfirm --needed |
|
|
|
pacman -S pacman-contrib terminus-font --noconfirm --needed |
|
|
|
sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf |
|
|
|
sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf |
|
|
|
pacman -S reflector rsync --noconfirm --needed |
|
|
|
rankmirrors -n 10 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist |
|
|
|
if ! command -v reflector &> /dev/null; then |
|
|
|
|
|
|
|
echo "Reflector not found - reinstalling..." |
|
|
|
|
|
|
|
pacman -S reflector --noconfirm --needed |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
reflector -a 48 -c "US" -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# install arch |
|
|
|
# install arch |
|
|
|
echo "-------------------------------------------------" |
|
|
|
echo "-------------------------------------------------" |
|
|
|
|