fix dual https://

This commit is contained in:
Asterisk 2024-06-15 12:42:56 +00:00
parent bcf8abf874
commit c47b5ff316

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://https://geo.mirror.pkgbuild.com/$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')