mirror of
https://gitlab.com/prism7/archery.git
synced 2025-02-15 08:29:17 +01:00
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:
parent
7df3b742a5
commit
d832f60faa
1 changed files with 25 additions and 1 deletions
26
Amelia.sh
26
Amelia.sh
|
@ -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 "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue