Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-23 10:25:39 +0200
committerGitHub <noreply@github.com>2021-05-23 10:25:39 +0200
commitdc10d5232c7c23af909e65be92172c64efdff144 (patch)
tree41418d76237c9cda6abb092d3bc72d3bc94752ad /examples
parent86b415e25c8b2616f0850964f504e1ae1c6e0edb (diff)
parent1d04acb603e46f7dcd52b5ecd6686265bbdc3059 (diff)
Merge pull request #509 from l4zy0n3/fixup-vars
Fixup vars
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index cbf30eb3..c3e5848b 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -445,5 +445,10 @@ 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:
+ selected_region = archinstall.arguments.get('mirror-region', None)
+ archinstall.arguments['mirror-region'] = {selected_region: archinstall.list_mirrors()[selected_region]}
+ archinstall.arguments['sys-language'] = archinstall.arguments.get('sys-language', 'en_US')
+ archinstall.arguments['sys-encoding'] = archinstall.arguments.get('sys-encoding', 'utf-8')
+
perform_installation_steps()