From 1f6f458dc231fb5f48a2d7eadd18fd65a791bd7f Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 23 Jul 2022 00:32:32 +0530 Subject: reflector for mirrorlist --- arch-magik.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch-magik.sh') diff --git a/arch-magik.sh b/arch-magik.sh index 3da2243..2598aa9 100755 --- a/arch-magik.sh +++ b/arch-magik.sh @@ -12,6 +12,11 @@ sed -i "s/^#ParallelDownloads = 5$/ParallelDownloads = 15/" /etc/pacman.conf sed -i '/Color/s/^#//g' /etc/pacman.conf sed -i '/ParallelDownloads = 15/a ILoveCandy' /etc/pacman.conf +#Updating mirrorlist +pacman --noconfirm -Sy reflector +reflector -c India -c Worldwide -a 12 -p https --sort rate --save /etc/pacman.d/mirrorlist +pacman -Syyy + pacman --noconfirm -Sy archlinux-keyring loadkeys us timedatectl set-ntp true -- cgit v1.2.3