mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
update
This commit is contained in:
@@ -57,5 +57,4 @@ if [ "${action}" == "install" ] && [ -d $serverPath/openresty ];then
|
||||
#初始化
|
||||
cd ${rootPath} && python3 ${rootPath}/plugins/openresty/index.py start
|
||||
cd ${rootPath} && python3 ${rootPath}/plugins/openresty/index.py initd_install
|
||||
rm -rf $openrestyDir/openresty-${VERSION}
|
||||
fi
|
||||
|
||||
@@ -149,6 +149,11 @@ Install_openresty()
|
||||
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
|
||||
rm -rf ${openrestyDir}/libressl-${libresslVersion}
|
||||
fi
|
||||
|
||||
if [ -d $openrestyDir/openresty-${VERSION} ];then
|
||||
rm -rf $openrestyDir/openresty-${VERSION}
|
||||
fi
|
||||
|
||||
echo '安装完成'
|
||||
}
|
||||
|
||||
|
||||
@@ -150,6 +150,10 @@ Install_openresty()
|
||||
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
|
||||
rm -rf ${openrestyDir}/libressl-${libresslVersion}
|
||||
fi
|
||||
|
||||
if [ -d $openrestyDir/openresty-${VERSION} ];then
|
||||
rm -rf $openrestyDir/openresty-${VERSION}
|
||||
fi
|
||||
echo '安装完成'
|
||||
}
|
||||
|
||||
|
||||
@@ -149,6 +149,10 @@ Install_openresty()
|
||||
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
|
||||
rm -rf ${openrestyDir}/libressl-${libresslVersion}
|
||||
fi
|
||||
|
||||
if [ -d $openrestyDir/openresty-${VERSION} ];then
|
||||
rm -rf $openrestyDir/openresty-${VERSION}
|
||||
fi
|
||||
echo '安装完成'
|
||||
}
|
||||
|
||||
|
||||
@@ -164,6 +164,10 @@ Install_openresty()
|
||||
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
|
||||
rm -rf ${openrestyDir}/libressl-${libresslVersion}
|
||||
fi
|
||||
|
||||
if [ -d $openrestyDir/openresty-${VERSION} ];then
|
||||
rm -rf $openrestyDir/openresty-${VERSION}
|
||||
fi
|
||||
echo '安装完成'
|
||||
}
|
||||
|
||||
|
||||
@@ -164,6 +164,10 @@ Install_openresty()
|
||||
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
|
||||
rm -rf ${openrestyDir}/libressl-${libresslVersion}
|
||||
fi
|
||||
|
||||
if [ -d $openrestyDir/openresty-${VERSION} ];then
|
||||
rm -rf $openrestyDir/openresty-${VERSION}
|
||||
fi
|
||||
echo '安装完成'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user