bugfix: mirror-tarballs: applied the init_cycle_pool_release patch to NGINX cores >= 1.13.6 instead of 1.13.6 only.

This commit is contained in:
Thibault Charbonnier 2019-09-25 18:53:43 -07:00 committed by Thibault Charbonnier
parent bad7098d88
commit 21dfc48bb5
1 changed files with 4 additions and 6 deletions

View File

@ -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`