Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/desktop.py
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-07-18 21:17:20 +0530
committerYash Tripathi <tripathiyash97@gmail.com>2021-07-18 21:40:44 +0530
commitb2476313a7284fedc7a29ec17fc5090a1c985ae9 (patch)
tree1caca5ceabe31d8bc213b5620a856ccdd8bc4d81 /profiles/desktop.py
parentb1998ddebf5bb73ae944c021e910c4fcb08878ec (diff)
added new key for desktop-environment
Diffstat (limited to 'profiles/desktop.py')
-rw-r--r--profiles/desktop.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/profiles/desktop.py b/profiles/desktop.py
index eaf145c2..457283e9 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -52,10 +52,8 @@ def _prep_function(*args, **kwargs):
# the next time it gets executed.
if '_desktop_profile' not in archinstall.storage.keys():
archinstall.storage['_desktop_profile'] = desktop
-
+ archinstall.arguments['desktop-environment'] = desktop
profile = archinstall.Profile(None, desktop)
- # Set the resolved profile path to the actual desktop environment
- archinstall.arguments['profile'] = profile
# Loading the instructions with a custom namespace, ensures that a __name__ comparison is never triggered.
with profile.load_instructions(namespace=f"{desktop}.py") as imported:
if hasattr(imported, '_prep_function'):