Add: A pause waiting for user input has been added to the 'automatic partitioning' stage 'Warning Prompts' (before the installer manages disk partitions), to ensure that the user fully understands and chooses to continue with the process.

This commit is contained in:
Jane Doe 2024-10-25 18:38:13 +00:00
parent 7df3b742a5
commit d832f60faa

View file

@ -2,7 +2,7 @@
# Amelia Installer
# https://gitlab.com/prism7/archery
# Version: 8.0.4
# Version: 8.0.5
set -euo pipefail
###################################################################################################
@ -2439,6 +2439,21 @@ man_preset() {
${magenta}###${nc}------------------------------------${magenta}[ ${bwhite}Preset Selection${nc} ${magenta}]${nc}------------------------------------${magenta}###
"
sleep 0.2
line2
REDBG " ------------------------------------------------------------ "
REDBG " [!] WARNING: All data on selected disk will be destroyed [!] "
REDBG " ------------------------------------------------------------ "
line2
NC "
${bwhite}Press any key to continue${nc}
"
read -r -s -n 1
YELLOW "
> Select a Partition Layout Preset: "
@ -2489,6 +2504,15 @@ ${magenta}###${nc}---------------------------------${magenta}[ ${bwhite}Automati
REDBG " [!] WARNING: All data on selected disk will be destroyed [!] "
REDBG " ------------------------------------------------------------ "
line2
NC "
${bwhite}Press any key to continue${nc}
"
read -r -s -n 1
if [[ -e "${instl_drive}" && "${use_manpreset}" != "yes" ]]; then
sleep 0.2
NC "