[postcfg] add geoip
This commit is contained in:
parent
0407a699ea
commit
491789bb05
@ -70,7 +70,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"])
|
target_env_call(["pacman-mirrors", "-g", "--geoip"])
|
||||||
else:
|
else:
|
||||||
self.copy_file('etc/pacman.d/mirrorlist')
|
self.copy_file('etc/pacman.d/mirrorlist')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user