From 95a21c19bbe6d9d8653a8b9003098c28806a6e78 Mon Sep 17 00:00:00 2001 From: ggodot Date: Wed, 28 Jan 2026 10:47:06 +0100 Subject: [PATCH] simplifying to bugfix --- mc-install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mc-install.sh b/mc-install.sh index 50e6d03..d81624e 100755 --- a/mc-install.sh +++ b/mc-install.sh @@ -82,9 +82,8 @@ elif [[ "$maxRam" =~ ("G"|"M") ]]; then printf "\n+ Allocating $maxRam as RAM maximum." echo "-Xmx$maxRam" >> user_jvm_args.txt elif [[ -z $maxRam ]]; then - $maxRam=4G printf "\n+ Allocating $MaxRam as RAM maximum" - echo "-Xmx$maxRam" >> user_jvm_args.txt + echo "-Xmx4G" >> user_jvm_args.txt elif [[ ! "$maxRam" =~ ("G"|"MB") ]]; then printf "\n+ Allocating ${maxRam}G as RAM maximum" echo "-Xmx${maxRam}G" >> user_jvm_args.txt @@ -101,9 +100,8 @@ elif [[ "$minRam" =~ ("G"|"M") ]]; then printf "\n+ Allocating $minRam as RAM minimum." echo "-Xms$minRam" >> user_jvm_args.txt elif [[ -z $minRam ]]; then - $minRam=1G printf "\n+ Allocating $minRam as RAM minimum" - echo "-Xms$minRam" >> user_jvm_args.txt + echo "-Xms1G" >> user_jvm_args.txt elif [[ ! "$minRam" =~ ("G"|"MB") ]]; then printf "Allocating ${minRam}G as RAM maximum" echo "-Xms${minRam}G" >> user_jvm_args.txt