fix (package): add simple install to package script

This commit is contained in:
wangtq
2021-03-29 19:23:24 +08:00
parent 706d659328
commit ecd3d8d102
2 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function check_os() {
local shmall=$(cat /proc/sys/kernel/shmall)
local pagesize=$(getconf PAGESIZE)
if [ $(($shared_buffers/1024/1024-$shmall/1024/1024*$pagesize)) -gt 0 ]; then
if [ $(($shared_buffers/1024/1024/1024-$shmall/1024/1024/1024*$pagesize)) -gt 0 ]; then
echo "The usage of the device [Shared_buffers] space cannot be greater than shmall*PAGESIZE." && exit 1
fi