diff --git a/Amelia.sh b/Amelia.sh index ddd4525..16089cb 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -2,7 +2,7 @@ # Amelia Installer # Source: https://gitlab.com/prism7/archery -# Version: 8.7.2 +# Version: 8.8.0 set -euo pipefail ################################################################################################### @@ -1845,19 +1845,16 @@ Enter [y/n]: " return 1 ;; esac - if [[ "${swapmode}" == "3" || "${swapmode}" == "4" ]]; then + if [[ "${swapmode}" =~ ^(1|2|3)$ ]]; then sleep 0.2 RED " - -------------------------------------------- - ### ${yellow}Incompatible Swap setting detected ${red}### - --------------------------------------------" - CYAN " + ---------------------------------------------------------------- + ### ${yellowl}INFO: ${nc}${yellow}If ${nc}Hibernation ${yellow}is desired ${red}### - (*) ${nc}Nvidia's ${yellowl}'Suspend/Resume' ${nc}feature is incompatible with current ${yellowl}Swap ${nc}settings - " - reload - until ask_swap; do : ; done - return 1 + ### ${yellow}Nvidia's ${nc}'Preserve video memory after suspend' ${yellow}feature ${red}### + + ### ${yellow}is incompatible with ${nc}'Early KMS' ${yellow}use ${nc}${red}### + ----------------------------------------------------------------" fi fi sleep 0.2