Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-20 08:13:57 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-20 08:13:57 -0400
commit9c8d55dd76171909da27c90944ef9a686f6426cf (patch)
tree8da5e3a43fc4adf99c78a97a30cb548d02737929 /examples
parentf137bc4076ec7e4e0914be466ef403810ab02fca (diff)
parent86fd64ef8ae804ae26bd02f90dbb780a8151f439 (diff)
Merge branch 'master' into post-installation-scripts
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 29eea324..82ad0443 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -180,8 +180,6 @@ 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))
- else:
- archinstall.arguments['profile'] = archinstall.list_profiles()[archinstall.arguments['profile']]
# Check the potentially selected profiles preparations to get early checks if some additional questions are needed.
if archinstall.arguments['profile'] and archinstall.arguments['profile'].has_prep_function():
@@ -415,8 +413,6 @@ else:
# Temporarily disabling keep_partitions if config file is loaded
archinstall.arguments['harddrive'].keep_partitions = False
# Temporary workaround to make Desktop Environments work
- archinstall.storage['_desktop_profile'] = archinstall.arguments.get('desktop', None)
- if archinstall.arguments.get('profile', None):
- archinstall.arguments['profile'] = archinstall.list_profiles()[archinstall.arguments['profile']]
+ archinstall.arguments['profile'] = archinstall.Profile(None, archinstall.arguments.get('desktop', None))
perform_installation_steps()