Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-07-18 01:28:41 +0530
committerYash Tripathi <tripathiyash97@gmail.com>2021-07-18 01:28:41 +0530
commitd55b1786c5797c191cfbaad79c33b1079d1d53c5 (patch)
tree9d9b5fce07948ab374ec6f11971628c9e1778fe4 /archinstall/lib
parent8489137b878aa920c3b6e9c567146f2c95d7981b (diff)
created load_config() to load configuration
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/user_interaction.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 2c5810ae..44dabbe6 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -710,7 +710,8 @@ def select_driver(options=AVAILABLE_GFX_DRIVERS):
if has_nvidia_graphics():
print('For the best compatibility with your Nvidia hardware, you may want to use the Nvidia proprietary driver.')
- arguments['gfx_driver'] = generic_select(drivers, input_text="Select your graphics card driver: ")
+ if not arguments.get('gfx_driver', None):
+ arguments['gfx_driver'] = generic_select(drivers, input_text="Select a graphics driver or leave blank to install all open-source drivers: ")
if arguments.get('gfx_driver', None) is None:
arguments['gfx_driver'] = "All open-source (default)"