From bcc79aea20d47c86b9b3e692fcdb18680f5ea5ce Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 17 May 2022 13:52:53 +0000 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 08f35da..b5d267d 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ # Figure out how much RAM the system has an set a variable # ramTotal=$(grep MemTotal /proc/meminfo | awk '{print $2 / 1024 / 1024}') -ramTotal=$(free | awk '/^Mem:/{print $2 / 1024 / 1024}' | awk -F. {'print$1'}) +ramTotal=$(free -h | awk '/^Mem:/{print $2}'| awk -FG {'print$1'}) # Detect and list the drives. lsblk -f