summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-07-23 00:32:32 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-07-23 00:32:32 +0530
commit1f6f458dc231fb5f48a2d7eadd18fd65a791bd7f (patch)
tree1224f0e1fb57586a614d90a4f973b34d86708564
parentcecf574b6685b925872176a11b9546e05bc3d72a (diff)
reflector for mirrorlist
-rwxr-xr-xarch-magik.sh5
1 files changed, 5 insertions, 0 deletions
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