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-14 15:11:38 +0000
committerGitHub <noreply@github.com>2021-05-14 15:11:38 +0000
commitda0af2294a36f73936473a138639a94958b06460 (patch)
treeb74cc3418d2243adad9bcb490cd7713e122f3053 /profiles/desktop.py
parentdf6c4e77f721da2b03a510548d281992b25987b2 (diff)
parent22750cefc89e6439d14a5df105af17e4e85eb3cc (diff)
Merge pull request #430 from archlinux/torxed-fix-magic-variables
BC: Replaced the magic __builtin__ global variable for installation
Diffstat (limited to 'profiles/desktop.py')
-rw-r--r--profiles/desktop.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/profiles/desktop.py b/profiles/desktop.py
index 2aea6d30..d4c13239 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -48,9 +48,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'])