Change default mirror to geo.mirror.pkgbuild.com

This commit is contained in:
Asterisk 2024-06-15 12:41:31 +00:00
parent 1c29f45a0b
commit bcf8abf874

View file

@ -233,7 +233,7 @@ def update_system():
if type(blend_release.get('arch-repo')) == str:
pacman_mirrorlist_conf.write(f'Server = {blend_release.get("arch-repo")}/$repo/os/$arch\n')
else:
pacman_mirrorlist_conf.write('Server = https://cloudflaremirrors.com/archlinux/$repo/os/$arch\n')
pacman_mirrorlist_conf.write('Server = https://https://geo.mirror.pkgbuild.com/$repo/os/$arch\n')
exec_chroot('mkdir', '-p', '/var/cache/pacman/pkg')
exec_chroot('rm', '-rf', '/var/cache/pacman/pkg')