From 2a19a8f93d7ac934965240d064dadfbbceff9beb Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 2 Nov 2024 16:03:58 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/versions/rmtp/install.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 '安装完成' }