minor
This commit is contained in:
parent
96ac630b29
commit
d6efa4b8af
@ -316,6 +316,7 @@ configure_nginx() {
|
||||
fi
|
||||
if confirm_action "要安装 nginx 吗?" "Y"; then
|
||||
if command_exists nginx && ! confirm_action "检测到旧版 nginx 的存在 ($(nginx -v 2>&1)),是否继续安装?" "N"; then
|
||||
# sudo apt-get remove nginx -y
|
||||
return
|
||||
fi
|
||||
sudo apt-get update
|
||||
|
||||
Loading…
Reference in New Issue
Block a user