commit b5c4565c8b5bb7e3f9c18ea7612506a92e96e96c parent c267c95ebd961373459e34c01fafae377136a4b5 Author: awy <awy@awy.one> Date: Sun, 13 Apr 2025 19:27:38 +0300 rankmirrors Diffstat:
M | install.sh | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/install.sh b/install.sh @@ -113,6 +113,12 @@ clear getuserdata diskpart +pacman -Sy pacman-contrib +clear +printf "Getting fastest mirrors..." +cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup +rankmirrors -n 5 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist + case $kerneltype in 1 | 2) binkernel ;; 3) customkernel ;; @@ -163,6 +169,7 @@ export encryption export cryptpass cp post_chroot.sh /mnt +cp -f /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist artix-chroot /mnt ./post_chroot.sh # cleaning up