From 2f0f6eaed6f349c084fe5bf83d33422bb08b2225 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 19 May 2024 21:54:20 +0800 Subject: [PATCH] Update install.sh --- plugins/sphinx/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/sphinx/install.sh b/plugins/sphinx/install.sh index eb49fa970..32ba62636 100755 --- a/plugins/sphinx/install.sh +++ b/plugins/sphinx/install.sh @@ -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