updated mirror-region config key to use value directly

This commit is contained in:
Yash Tripathi 2021-05-23 11:52:21 +05:30 committed by GitHub
parent 48f1e62427
commit 9be8a3a998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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()