Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/kde.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-05-12 13:55:41 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-05-12 13:55:41 +0200
commit4ff35663b80e1bb40c44d4ceee85700ef428cab0 (patch)
tree0c5d2c19ef3eab1ccad8b7f66cfc08290dacb74a /profiles/kde.py
parentdf6c4e77f721da2b03a510548d281992b25987b2 (diff)
Replaced the magic __builtin__ global variable. This should fix mypy complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.
Diffstat (limited to 'profiles/kde.py')
-rw-r--r--profiles/kde.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/kde.py b/profiles/kde.py
index c8efdcde..aac5ade4 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -37,10 +37,10 @@ def _post_install(*args, **kwargs):
# or through conventional import kde
if __name__ == 'kde':
# Install dependency profiles
- installation.install_profile('xorg')
+ archinstall.storage['installation_session'].install_profile('xorg')
# Install the KDE packages
- installation.add_additional_packages(__packages__)
+ archinstall.storage['installation_session'].add_additional_packages(__packages__)
# Enable autostart of KDE for all users
- installation.enable_service('sddm')
+ archinstall.storage['installation_session'].enable_service('sddm')