3 Answers
输入相同版本号后,出现这样的提示:
input error! Upgrade Nginx version is the same as the old version
Please input upgrade Nginx Version(default: 1.12.2):
input error! Upgrade Nginx version is the same as the old version
Please input upgrade Nginx Version(default: 1.12.2):
将upgrade.sh 中如下:
80 if [ -e "$nginx_install_dir/sbin/nginx" ]; then
81 Upgrade_Nginx
82 elif [ -e "$tengine_install_dir/sbin/nginx" ]; then
83 Upgrade_Tengine
84 elif [ -e "$openresty_install_dir/nginx/sbin/nginx" ]; then
85 Upgrade_OpenResty
86 elif [ -e "${apache_install_dir}/conf/httpd.conf" ]; then
87 Upgrade_Apache
88 fi
改成:
80 if [ -e "${apache_install_dir}/conf/httpd.conf" ]; then
87 Upgrade_Apache
82 elif [ -e "$tengine_install_dir/sbin/nginx" ]; then
83 Upgrade_Tengine
84 elif [ -e "$openresty_install_dir/nginx/sbin/nginx" ]; then
85 Upgrade_OpenResty
86 elif [ -e "$nginx_install_dir/sbin/nginx" ]; then
81 Upgrade_Nginx
88 fi
Please login or Register to submit your answer