Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-05-20 13:22:58 +0530
committerGitHub <noreply@github.com>2021-05-20 13:22:58 +0530
commit86fd64ef8ae804ae26bd02f90dbb780a8151f439 (patch)
tree90c0858376b79b78693db94d36cfd0ba61e390cd
parentc2f3b9e2088bfd5ed1c6a5f80bab28277653bb8a (diff)
fixed desktop install from config
-rw-r--r--examples/guided.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/guided.py b/examples/guided.py
index f0d0db7a..b3e87df7 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -179,8 +179,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():
@@ -410,8 +408,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'] = Profile(installer=None, path=archinstall.arguments['profile']['path'])
+ archinstall.arguments['profile'] = archinstall.Profile(None, archinstall.arguments.get('desktop', None))
perform_installation_steps()