From 21dfc48bb5150ad226f059c3d3a66fe198851338 Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Wed, 25 Sep 2019 18:53:43 -0700 Subject: [PATCH] bugfix: mirror-tarballs: applied the init_cycle_pool_release patch to NGINX cores >= 1.13.6 instead of 1.13.6 only. --- util/mirror-tarballs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/util/mirror-tarballs b/util/mirror-tarballs index f2466ed..8c5ca97 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -73,6 +73,10 @@ if [ "$answer" = "Y" ]; then echo "$info_txt applying the daemon_destroy_pool patch for nginx" patch -p1 < $root/patches/nginx-$main_ver-daemon_destroy_pool.patch || exit 1 echo + + echo "$info_txt applying the init_cycle_pool_release patch for nginx" + patch -p1 < $root/patches/nginx-$main_ver-init_cycle_pool_release.patch || exit 1 + echo fi answer=`$root/util/ver-ge "$main_ver" 1.5.12` @@ -398,12 +402,6 @@ if [ "$main_ver" = "1.9.7" ]; then echo fi -if [ "$main_ver" = "1.13.6" ]; then - echo "$info_txt applying the init_cycle_pool_release patch for nginx" - patch -p1 < $root/patches/nginx-$main_ver-init_cycle_pool_release.patch || exit 1 - echo -fi - answer=`$root/util/ver-ge "$main_ver" 1.9.5` if [ "$answer" = "Y" ]; then answer=`$root/util/ver-ge "$main_ver" 1.14.1`