This commit is contained in:
midoks
2022-07-07 21:15:22 +08:00
parent 904a17b81d
commit cddff84416
3 changed files with 46 additions and 29 deletions
+6
View File
@@ -32,6 +32,12 @@ if [ ! -d $curPath/versions/$2 ];then
fi
if [ "${action}" == "uninstall" ] && [ -d ${serverPath}/php-yum/${type} ];then
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py stop ${type}
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py initd_uninstall ${type}
fi
cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1
if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then