From d39421fbc5be5ab22ac0e6b0878bde6bbd2adeb3 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Tue, 14 Mar 2023 16:24:44 +0100 Subject: [PATCH] remove instructions on how to bypass ram check (#2455) Signed-off-by: Daniel Hansson --- lib.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib.sh b/lib.sh index 65a2dc97..bef735cb 100644 --- a/lib.sh +++ b/lib.sh @@ -1125,10 +1125,7 @@ then print_text_in_color "$IRed" "Error: ${1} GB RAM required to install ${2}!" >&2 print_text_in_color "$IRed" "Current RAM is: ($mem_available_gb GB)" >&2 sleep 3 - msg_box "** Error: insufficient memory. ${mem_available_gb}GB RAM installed, ${1}GB required. - -To bypass this check, comment out (add # before the line) 'ram_check X' in the script that you are trying to run. -Please note this may affect performance. USE AT YOUR OWN RISK!" + msg_box "** Error: insufficient memory. ${mem_available_gb}GB RAM installed, ${1}GB required." exit 1 else print_text_in_color "$IGreen" "RAM for ${2} OK! ($mem_available_gb GB)"