Update install.sh

This commit is contained in:
Mr Chen 2024-05-19 21:54:20 +08:00
parent f0fcec44ff
commit 2f0f6eaed6
1 changed files with 4 additions and 1 deletions

View File

@ -112,7 +112,10 @@ Install_sphinx()
echo "${VERSION}" > $serverPath/sphinx/version.pl
echo '安装Sphinx完成'
cd ${rootPath} && python3 ${rootPath}/plugins/sphinx/index.py start
cd ${rootPath} && python3 ${rootPath}/plugins/sphinx/index.py initd_install
if [ $sysName != 'Darwin' ]; then
cd ${rootPath} && python3 ${rootPath}/plugins/sphinx/index.py initd_install
fi
fi
if [ -d ${SPHINX_DIR}/sphinx-${VERSION} ];then