Update install.sh

pull/447/head
midoks 2 years ago
parent 7492756997
commit 24f520bdc9
  1. 3
      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

Loading…
Cancel
Save