Update install.sh

This commit is contained in:
midoks
2022-07-05 14:44:51 +08:00
parent 5ee5eb190f
commit 2b10892a67
+3 -5
View File
@@ -120,14 +120,12 @@ Install_mysql()
if [ "$OSNAME" == "centos" ] && [ "$VERSION_ID" == "7" ];then
yum install centos-release-scl -y
yum install devtoolset-9 -y
scl enable devtoolset-9 bash
# scl enable devtoolset-9 bash
gcc --version
WHERE_DIR_GCC=`which gcc`
WHERE_DIR_GPP=`which g++`
WHERE_DIR_GCC=/opt/rh/devtoolset-9/root/usr/bin/gcc
WHERE_DIR_GPP=/opt/rh/devtoolset-9/root/usr/bin/g++
echo $WHERE_DIR_GCC
echo $WHERE_DIR_GPP
exit 1
fi
if [ ! -d $serverPath/mysql ];then