Update install.sh

pull/149/head
midoks 3 years ago
parent 79095a3e71
commit f6672d6bd5
  1. 4
      plugins/postgresql/versions/14.4/install.sh

@ -38,9 +38,9 @@ Install_App()
cpuCore="1"
fi
if [ -f /proc/cpuinfo ];then
if [ -f /proc/cpuinfo ];then
cpuCore=`cat /proc/cpuinfo | grep "processor" | wc -l`
fi
fi
MEM_INFO=$(free -m|grep Mem|awk '{printf("%.f",($2)/1024)}')
if [ "${cpuCore}" != "1" ] && [ "${MEM_INFO}" != "0" ];then

Loading…
Cancel
Save