[postcfg] use -f3 for pacman-mirrors

This commit is contained in:
Philip 2018-01-02 03:35:43 -05:00
parent da2a177243
commit b489adfc81

View File

@ -68,7 +68,7 @@ class ConfigController:
# Generate mirror list # Generate mirror list
if exists(join(self.root, "usr/bin/pacman-mirrors")): if exists(join(self.root, "usr/bin/pacman-mirrors")):
if libcalamares.globalstorage.value("hasInternet"): if libcalamares.globalstorage.value("hasInternet"):
target_env_call(["pacman-mirrors", "-g", "--geoip"]) target_env_call(["pacman-mirrors", "-f3"])
else: else:
self.copy_file('etc/pacman.d/mirrorlist') self.copy_file('etc/pacman.d/mirrorlist')