summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-10-14 03:01:37 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-10-14 03:01:37 +0530
commit42948a2c784c9a16410bf593fdcff68b2f536be1 (patch)
tree1c67e1204383091268387da1cf8ef4a83cae53b1
parentecce41ba7e3a5e5e840ba1bd52e0f5acf9de79f7 (diff)
decreasing mirrorlist count
-rwxr-xr-xarch-magik.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch-magik.sh b/arch-magik.sh
index e0f5569..54faa8d 100755
--- a/arch-magik.sh
+++ b/arch-magik.sh
@@ -15,7 +15,8 @@ sed -i '/ParallelDownloads = 15/a ILoveCandy' /etc/pacman.conf
#Updating mirrorlist for faster downloads
country=$(curl -4 ifconfig.co/country-iso)
pacman --noconfirm -Sy reflector
-reflector --verbose --sort rate -l 30 --save /etc/pacman.d/mirrorlist
+reflector --verbose --sort rate -l 15 --save /etc/pacman.d/mirrorlist
+#reflector --verbose -c $country --sort rate -l 15 --save /etc/pacman.d/mirrorlist
pacman -Syyy
pacman --noconfirm -Sy archlinux-keyring