From 24f520bdc9910b5bd4da8ebf01173c163900b6ed Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Sep 2023 18:30:40 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index fc36b75e3..31505794c 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -78,7 +78,7 @@ Install_openresty() cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz OPTIONS='' - if [ "$VERSION" != "1.21.4.2" ];then + if [ "$VERSION" != "1.21.4.2" ]; then OPTIONS=" ${OPTIONS} --with-ipv6 " elif [ "$VERSION" != "1.17.8.2" ]; then OPTIONS=" ${OPTIONS} --with-ipv6 " @@ -104,6 +104,7 @@ Install_openresty() gmake -j${cpuCore} && gmake install && gmake clean else make -j${cpuCore} && make install && make clean + fi if [ -d $serverPath/openresty ];then echo "${VERSION}" > $serverPath/openresty/version.pl