Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-05-23 11:52:21 +0530
committerGitHub <noreply@github.com>2021-05-23 11:52:21 +0530
commit9be8a3a998ed671749665dae3fc432305ababc64 (patch)
tree4be3194c1b55f950716546e81887f57ef948742c /examples
parent48f1e624279e5a0cb1914663d3d3e88982cbf751 (diff)
updated mirror-region config key to use value directly
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index cbf30eb3..c6f40ac7 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -445,5 +445,7 @@ else:
archinstall.arguments['profile'] = archinstall.Profile(None, archinstall.arguments.get('profile', None))
else:
archinstall.arguments['profile'] = None
+ if archinstall.arguments.get('mirror-region', None) is not None:
+ archinstall.arguments['mirror-region'] = {selected_region: archinstall.list_mirrors()[archinstall.arguments.get('mirror-region', None)]}
perform_installation_steps()