Xray-1.2.4

[fix] 修复 gnupg 缺失问题
pull/331/head
wulabing 2021-03-06 00:13:43 +08:00
parent 2e9e8af2ca
commit e75003886c
No known key found for this signature in database
GPG Key ID: 213391AFDF73AE00
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ function system_check() {
INS="apt install -y"
# 清除可能的遗留问题
rm -f /etc/apt/sources.list.d/nginx.list
$INS lsb-release
$INS lsb-release gnupg2
echo "deb http://nginx.org/packages/debian $(lsb_release -cs) nginx" >/etc/apt/sources.list.d/nginx.list
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
@ -102,7 +102,7 @@ function system_check() {
INS="apt install -y"
# 清除可能的遗留问题
rm -f /etc/apt/sources.list.d/nginx.list
$INS lsb-release
$INS lsb-release gnupg2
echo "deb http://nginx.org/packages/ubuntu $(lsb_release -cs) nginx" >/etc/apt/sources.list.d/nginx.list
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -