Merge branch 'pkgbuild-mirror' into 'main'

Change default mirror to geo.mirror.pkgbuild.com

See merge request blendOS/system-tools/akshara!3
This commit is contained in:
Rudra Saraswat 2024-07-06 18:20:20 +00:00
commit a9dfa3c3fa

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://geo.mirror.pkgbuild.com/$repo/os/$arch\n')
exec_chroot('mkdir', '-p', '/var/cache/pacman/pkg')
exec_chroot('rm', '-rf', '/var/cache/pacman/pkg')