diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-23 00:32:32 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-23 00:32:32 +0530 |
commit | 1f6f458dc231fb5f48a2d7eadd18fd65a791bd7f (patch) | |
tree | 1224f0e1fb57586a614d90a4f973b34d86708564 /arch-magik.sh | |
parent | cecf574b6685b925872176a11b9546e05bc3d72a (diff) |
reflector for mirrorlist
Diffstat (limited to 'arch-magik.sh')
-rwxr-xr-x | arch-magik.sh | 5 |
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 |