Fix typo in install_nginx.sh.

This commit is contained in:
邱博亞 2023-11-15 00:14:54 +08:00
parent 88468efd58
commit 5dd0bb747c
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ if [[ ! -f /etc/init.d/nginx ]]; then
fi
fi
nginx_target_ver="1.23.1"
if [[ $(vercomp "$nginx_ver" "$nginx_target_ver") == "<"]] || [[ "$1" == '--force' ]] || [[ "$install_modsecurity" == "1" ]] || [[ "$install_passenger" == "1" ]]; then
if [[ $(vercomp "$nginx_ver" "$nginx_target_ver") == "<" ]] || [[ "$1" == '--force' ]] || [[ "$install_modsecurity" == "1" ]] || [[ "$install_passenger" == "1" ]]; then
if [ -f "/etc/nginx/nginx.conf" ]; then
nginx_conf_exist="1"
else