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:
Diffstat (limited to 'profiles/desktop.py')
-rw-r--r--profiles/desktop.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/profiles/desktop.py b/profiles/desktop.py
index 2aea6d30..9e1d8b4c 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -16,7 +16,8 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start.
"""
- supported_desktops = ['gnome', 'kde', 'awesome', 'sway', 'cinnamon', 'xfce4', 'lxqt', 'i3', 'budgie', 'mate']
+ supported_desktops = ['gnome', 'kde', 'awesome', 'sway', 'cinnamon', 'xfce4', 'lxqt', 'i3', 'budgie', 'mate', 'deepin', 'enlightenment']
+
desktop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environment: ',
allow_empty_input=False, sort=True)
@@ -48,9 +49,7 @@ if __name__ == 'desktop':
"""
# Install common packages for all desktop environments
- installation.add_additional_packages(__packages__)
-
- # TODO: Remove magic variable 'installation' and place it
- # in archinstall.storage or archinstall.session/archinstall.installation
- installation.install_profile(archinstall.storage['_desktop_profile'])
+ archinstall.storage['installation_session'].add_additional_packages(__packages__)
+
+ archinstall.storage['installation_session'].install_profile(archinstall.storage['_desktop_profile'])