From 032aea6da3cb297064c550595fa0f94b39febcd9 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Thu, 5 Oct 2023 06:13:31 +0900 Subject: [PATCH] Update InstallNET.sh --- Linux_reinstall/InstallNET.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 073be34..56de88e 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -1033,7 +1033,7 @@ function checkMem() { # They never optimize or improve it, just tell users they need to pay more to expand their hardware performance and adjust to the endless demand of them. it's not a correct decision. [[ "$setMemCheck" == '1' ]] && { [[ "$1" == 'fedora' || "$1" == 'rockylinux' || "$1" == 'almalinux' || "$1" == 'centos' ]] && { - [[ "$TotalMem" -le "492" ]] && { + [[ "$TotalMem" -le "462" ]] && { echo -ne "\n[${red}Error${plain}] Minimum system memory requirement is 512 MB!\n" exit 1 } @@ -1069,7 +1069,7 @@ function checkMem() { } [[ "$1" == 'alpinelinux' || "$3" == 'Ubuntu' ]] && { if [[ "$3" == 'Ubuntu' ]]; then - [[ "$TotalMem" -le "492" ]] && { + [[ "$TotalMem" -le "462" ]] && { echo -ne "\n[${red}Error${plain}] Minimum system memory requirement is 512 MB!\n" exit 1 }