mirror of
https://github.com/Kron4ek/Conty
synced 2024-11-16 19:50:06 +01:00
Generate mirrorlist with reflector
If it's available.
This commit is contained in:
parent
a3450c7757
commit
2ab89c45ac
1 changed files with 6 additions and 1 deletions
|
@ -394,7 +394,12 @@ rm arch.tar.gz
|
|||
mount_chroot
|
||||
|
||||
generate_localegen
|
||||
generate_mirrorlist
|
||||
|
||||
if command -v reflector 1>/dev/null; then
|
||||
reflector --protocol https --score 5 --sort rate --save mirrorlist
|
||||
else
|
||||
generate_mirrorlist
|
||||
fi
|
||||
|
||||
rm "${bootstrap}"/etc/locale.gen
|
||||
cp locale.gen "${bootstrap}"/etc/locale.gen
|
||||
|
|
Loading…
Reference in a new issue