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