From fb8f74226fa1a4f5235514a9815d00c34bba7c1a Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 30 Jun 2022 12:57:20 +0800 Subject: [PATCH] Update install.sh --- plugins/php/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php/install.sh b/plugins/php/install.sh index b3a6f2f95..9393f0e31 100755 --- a/plugins/php/install.sh +++ b/plugins/php/install.sh @@ -43,7 +43,7 @@ fi cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1 -if [ "${action}" == "install" ];then +if [ "${action}" == "install" ] && [ -d ${serverPath}/php/${type} ];then #初始化 cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py start ${type} cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py initd_install ${type}