Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 09638f0e..2bf911fc 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -81,8 +81,11 @@ def ask_user_questions():
mountpoints_list = sorted(list(partition_mountpoints.keys()))
partition = archinstall.generic_select(mountpoints_list,
"Select a partition by number that you want to set a mount-point for (leave blank when done): ")
- if not partition and set(mountpoints_set) & {'/', '/boot'} == {'/', '/boot'}:
- break
+ if not partition:
+ if set(mountpoints_set) & {'/', '/boot'} == {'/', '/boot'}:
+ break
+
+ continue
# Select a mount-point
mountpoint = input(f"Enter a mount-point for {partition}: ").strip(' ')