Added a continuation if partitions are not set yet.
This commit is contained in:
parent
81c57560b3
commit
3cf8ec7ad6
|
|
@ -81,8 +81,11 @@ def ask_user_questions():
|
||||||
mountpoints_list = sorted(list(partition_mountpoints.keys()))
|
mountpoints_list = sorted(list(partition_mountpoints.keys()))
|
||||||
partition = archinstall.generic_select(mountpoints_list,
|
partition = archinstall.generic_select(mountpoints_list,
|
||||||
"Select a partition by number that you want to set a mount-point for (leave blank when done): ")
|
"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'}:
|
if not partition:
|
||||||
break
|
if set(mountpoints_set) & {'/', '/boot'} == {'/', '/boot'}:
|
||||||
|
break
|
||||||
|
|
||||||
|
continue
|
||||||
|
|
||||||
# Select a mount-point
|
# Select a mount-point
|
||||||
mountpoint = input(f"Enter a mount-point for {partition}: ").strip(' ')
|
mountpoint = input(f"Enter a mount-point for {partition}: ").strip(' ')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue