Update install.sh

This commit is contained in:
midoks 2022-06-23 19:51:58 +08:00
parent 3bd782192e
commit fa0d5b5521
1 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,10 @@ Install_mysql()
-DFORCE_INSOURCE_BUILD=1 \
-DWITH_BOOST=${mysqlDir}/mysql-8.0.25/boost/
make && make install && make clean
echo '8.0' > $serverPath/mysql/version.pl
if [ -d $serverPath/mysql ];then
echo '8.0' > $serverPath/mysql/version.pl
fi
echo '安装完成' > $install_tmp
fi
}