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:
parent
bad7098d88
commit
21dfc48bb5
|
@ -73,6 +73,10 @@ if [ "$answer" = "Y" ]; then
|
||||||
echo "$info_txt applying the daemon_destroy_pool patch for nginx"
|
echo "$info_txt applying the daemon_destroy_pool patch for nginx"
|
||||||
patch -p1 < $root/patches/nginx-$main_ver-daemon_destroy_pool.patch || exit 1
|
patch -p1 < $root/patches/nginx-$main_ver-daemon_destroy_pool.patch || exit 1
|
||||||
echo
|
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
|
fi
|
||||||
|
|
||||||
answer=`$root/util/ver-ge "$main_ver" 1.5.12`
|
answer=`$root/util/ver-ge "$main_ver" 1.5.12`
|
||||||
|
@ -398,12 +402,6 @@ if [ "$main_ver" = "1.9.7" ]; then
|
||||||
echo
|
echo
|
||||||
fi
|
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`
|
answer=`$root/util/ver-ge "$main_ver" 1.9.5`
|
||||||
if [ "$answer" = "Y" ]; then
|
if [ "$answer" = "Y" ]; then
|
||||||
answer=`$root/util/ver-ge "$main_ver" 1.14.1`
|
answer=`$root/util/ver-ge "$main_ver" 1.14.1`
|
||||||
|
|
Loading…
Reference in New Issue