diff --git a/install.sh b/install.sh index a72418c..6e380ab 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,6 @@ # Figure out how much RAM the system has an set a variable -ramTotal=$(free -h | awk '/^Mem:/{print $2}'| awk -FG {'print$1'}) +# ramTotal=$(free -h | awk '/^Mem:/{print $2}'| awk -FG {'print$1'}) +ramTotal=$(free | awk '/^Mem:/{print $2 / 1024 / 1024}' | awk -F. {'print$1'}) # Detect and list the drives. lsblk -f