[postcfg] add geoip

This commit is contained in:
Philip 2017-04-02 13:26:31 +02:00
parent 4d29526206
commit 1ee2a76ef3

View File

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