Merge branch '4.0release' into develop

This commit is contained in:
winlin 2020-04-13 19:51:13 +08:00
commit f072f30854

View File

@ -111,6 +111,10 @@ function Ubuntu_prepare()
fi fi
fi fi
pkg-config --version >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
echo "Please install pkg-config"; exit -1;
fi
echo "Tools for Ubuntu are installed." echo "Tools for Ubuntu are installed."
return 0 return 0
} }
@ -192,6 +196,10 @@ function Centos_prepare()
fi fi
fi fi
pkg-config --version --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
echo "Please install pkg-config"; exit -1;
fi
echo "Tools for Centos are installed." echo "Tools for Centos are installed."
return 0 return 0
} }