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-22 20:50:02 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-22 20:50:02 +0200
commit1552cc82773b28b91a90f5023565538a2eb965bd (patch)
treeffc4eccb84b01bf7d2bd88f22806e631c7cb60a1 /examples
parent78369269a0661e9aa13d26c3b688c10933765b30 (diff)
Re-worked the select_profile() user interaction. It no longer takes options as a parameter, instead it sources the profiles available, prints a curated list but allows for any input that is a valid profile.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 122f0804..7d033eaf 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -193,7 +193,7 @@ def ask_user_questions():
# Ask for archinstall-specific profiles (such as desktop environments etc)
if not archinstall.arguments.get('profile', None):
- archinstall.arguments['profile'] = archinstall.select_profile(archinstall.list_profiles(filter_top_level_profiles=True))
+ archinstall.arguments['profile'] = archinstall.select_profile()
else:
archinstall.arguments['profile'] = Profile(installer=None, path=archinstall.arguments['profile'])