Fix error in --letsencrypt=subdomain
This commit is contained in:
2
install
2
install
@@ -684,7 +684,7 @@ if [ -x /usr/local/bin/wo ]; then
|
||||
fi
|
||||
if [ -z "$wo_preserve_config" ]; then
|
||||
if [ -n "$(command -v nginx)" ]; then
|
||||
if ! grep -q "v3.9.5." /etc/nginx/common/release; then
|
||||
if [ ! -f /etc/nginx/common/release ] || ! grep -q "v3.9.6" /etc/nginx/common/release; then
|
||||
wo_lib_echo "Upgrading Nginx" | tee -ai $wo_install_log
|
||||
wo_upgrade_nginx | tee -ai $wo_install_log
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user