Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/server.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-09-06 12:22:57 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2021-09-06 12:22:57 +0000
commit025dc83194d2bfc0bde73681abf5d280c745806d (patch)
treefd9f46eb5447ade86102806493c1f12f8e6f9e8c /profiles/server.py
parent51eb05691a5845652a9dc583de05519f095961f3 (diff)
parentcc6491f0a5d9b7795375a5a86e03fc9eb1c762c7 (diff)
Corrected some minor modifications mentioned in #595 as well as merged in latest changes from master. For future PR's do create a patch-branch for upstream patches to avoid changes to your local repo.
Diffstat (limited to 'profiles/server.py')
-rw-r--r--profiles/server.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/profiles/server.py b/profiles/server.py
index 79aa9481..731d2005 100644
--- a/profiles/server.py
+++ b/profiles/server.py
@@ -26,8 +26,9 @@ def _prep_function(*args, **kwargs):
Magic function called by the importing installer
before continuing any further.
"""
- selected_servers = archinstall.generic_multi_select(available_servers, "Choose which servers to install and enable (leave blank for a minimal installation): ")
- archinstall.storage['_selected_servers'] = selected_servers
+ if not archinstall.storage.get('_selected_servers', None):
+ selected_servers = archinstall.generic_multi_select(available_servers, "Choose which servers to install and enable (leave blank for a minimal installation): ")
+ archinstall.storage['_selected_servers'] = selected_servers
return True