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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/desktop.py b/profiles/desktop.py
index 30bb9a6a..631c7f76 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -48,7 +48,8 @@ def _prep_function(*args, **kwargs):
# Temporarily store the selected desktop profile
# in a session-safe location, since this module will get reloaded
# the next time it gets executed.
- archinstall.storage['_desktop_profile'] = desktop
+ if '_desktop_profile' not in archinstall.storage.keys():
+ archinstall.storage['_desktop_profile'] = desktop
profile = archinstall.Profile(None, desktop)
# Loading the instructions with a custom namespace, ensures that a __name__ comparison is never triggered.