diff --git a/plugins/openresty/versions/rmtp/install.sh b/plugins/openresty/versions/rmtp/install.sh index 9050814de..93b0f2a0f 100644 --- a/plugins/openresty/versions/rmtp/install.sh +++ b/plugins/openresty/versions/rmtp/install.sh @@ -175,6 +175,10 @@ Install_openresty() if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then rm -rf ${openrestyDir}/libressl-${libresslVersion} fi + + if [ -d ${openrestyDir}/nginx-rtmp-module-${nginx_rtmp_ver} ];then + rm -rf ${openrestyDir}/nginx-rtmp-module-${nginx_rtmp_ver} + fi echo '安装完成' }