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:
authorAnton Hvornum <anton@hvornum.se>2021-05-15 14:23:59 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-15 14:23:59 +0200
commite8d241ec96070ab471eebf7cfc9094c341c42466 (patch)
tree2b8cad155bce7f06d176270dd4030fc37894e01b /profiles/desktop.py
parentef1d475fd073a7a7e8254b4872b6c811f281248d (diff)
parentbaf857f4180c6826e1fc08dee88d5f0b4872fd07 (diff)
Merge branch 'master' of github.com:archlinux/archinstall into mypy-workflow
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'])