Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-08-20 03:54:23 +0530
committerGitHub <noreply@github.com>2021-08-20 03:54:23 +0530
commitc461cc49e756332578e99404fa757a5610f0992c (patch)
treeaa44f306e9855aa34b877dce7411f82e441be677 /profiles
parent78bbf26c1aa02f34366020ec4d9212836fafc3dd (diff)
only prompt if _selected_servers is not set
Diffstat (limited to 'profiles')
-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