From 8d2217a137f0d7d1c0098e5c86dc2a548f00b0f9 Mon Sep 17 00:00:00 2001 From: elementrick Date: Sat, 14 Sep 2024 19:22:32 +0000 Subject: [PATCH] Add: The installer will not load the 'Automatic Partitioning' stage if the user has already denied the said stage, instead 'Manual Partitioning' stage will be auto-loaded --- Amelia.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Amelia.sh b/Amelia.sh index bdadb95..58b5520 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -3538,7 +3538,13 @@ ${multi_swap} until manual_part; do : ; done else process - until auto_part; do : ; done + if [[ "${slct_autoprt}" != "yes" ]]; then + until auto_part; do : ; done + return 1 + else + until manual_part; do : ; done + return 1 + fi fi elif [[ "${multibooting}" == "y" ]]; then process @@ -6235,6 +6241,7 @@ OPTIMIZED_CONF hypervisor="" mkinitcpio_mods="" ukify="" + slct_autoprt="" clear first_check