In the function main(), there is:

while ! check_partition_ok;
do
menu_part
done


If check_partition_ok fails, the user sees always the menu_part Menu, i.e. the user thinks, the installation loops, i.e. it is broken.


the check_partition_ok function contains e.g.

SWAPPARTS=$(find_swap_partitions)
RC=$?
SWAPPARTS2=$(find_swap_partitions2)
[ $RC -eq 1 ] && return 1 # no, we must partition


I strongly recommend to add a msgbox telling the user why check_partition_ok failed.....then he can (in this example) add swap space in the next partition round and the installation continues...

Thanks,
Rainer