todo(configure_priv.sh): 添加 nginx 安装版本未找到的问题

This commit is contained in:
Konano 2024-11-07 15:27:54 +08:00
parent a6940f3dc2
commit 2eae18ad3b
Signed by: Nano
GPG Key ID: 93686B78EE43A65A

View File

@ -303,7 +303,7 @@ configure_nginx() {
fi fi
if confirm_action "要安装 nginx 吗?" "Y"; then if confirm_action "要安装 nginx 吗?" "Y"; then
sudo apt-get update sudo apt-get update
sudo apt-get install nginx=1.20.2-1~$(lsb_release -cs) -y sudo apt-get install nginx=1.20.2-1~$(lsb_release -cs) -y # TODO E: Version '1.20.2-1~noble' for 'nginx' was not found
echo "别忘了把 /etc/nginx/sites-enabled 中的配置文件移动到 /etc/nginx/conf.d 中" echo "别忘了把 /etc/nginx/sites-enabled 中的配置文件移动到 /etc/nginx/conf.d 中"
fi fi
} }