Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/xorg.py
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/xorg.py')
-rw-r--r--profiles/xorg.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/profiles/xorg.py b/profiles/xorg.py
index 33d2aa4c..237e4350 100644
--- a/profiles/xorg.py
+++ b/profiles/xorg.py
@@ -25,12 +25,16 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start.
"""
- archinstall.storage["gfx_driver_packages"] = archinstall.select_driver()
+ driver = archinstall.select_driver()
+
+ if driver:
+ archinstall.storage["gfx_driver_packages"] = driver
+ return True
# TODO: Add language section and/or merge it with the locale selected
# earlier in for instance guided.py installer.
- return True
+ return False
# Ensures that this code only gets executed if executed