diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 068bbd9..af0ffda 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -3164,6 +3164,11 @@ SWAPFILE=/etc/dphys-swapfile CURRENTSWAPSIZE=$(cat $SWAPFILE | grep CONF_SWAPSIZE= | awk -F "=" '{print $2}') +FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }') + + +if [[ $FREEMEM -lt 3000 ]]; then + if [[ $CURRENTSWAPSIZE -lt 2000 ]]; then echo "Some users have found that increasing the swap size may help prevent crashing during compiling of FLDIGI. @@ -3217,7 +3222,7 @@ ${r} ${c} fi fi - +fi fi } @@ -3327,8 +3332,8 @@ cat /tmp/results | yad --text-info --center \ GARIM) echo "Updating GARIM" garim_install ;; - WSJTX) echo "Installing WSJTX" - wsjtx_install + WSJTX) echo "WSJTX not currently supported" + #wsjtx_install ;; PULSE) echo "Installing pulseaudio suite" pulse_audio_suite_install diff --git a/changelogs/CHANGELOG-Setup-Script.md b/changelogs/CHANGELOG-Setup-Script.md index d19b0e9..7d88a23 100644 --- a/changelogs/CHANGELOG-Setup-Script.md +++ b/changelogs/CHANGELOG-Setup-Script.md @@ -6,6 +6,7 @@ - updated fldigi deps - modified more deps, fixed error reporting issue. - Changed Chirp Install to be from snap. + - Changed swap file check to only check if less than 3GB RAM. # Version 0.6.9 - Corrected wsjt-x address from http to https