From e46b04691a803b7268817e1e970e6030467b25a7 Mon Sep 17 00:00:00 2001 From: xietianxi Date: Mon, 16 Oct 2023 11:05:33 +0800 Subject: [PATCH] replace deprecated apt-key in setup instructions --- README.md | 2 +- README.zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d5e241..7d0518a 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ If you meet any problem during or after the installation, check Troubleshooting 2. Run these command. ``` bash -curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo apt-key add - +curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo tee /etc/apt/trusted.gpg.d/zjumirrors.asc curl https://mirrors.zju.edu.cn/openzjunet/zjunet.list | sudo tee /etc/apt/sources.list.d/zjunet.list sudo apt-get update sudo apt-get install zjunet diff --git a/README.zh.md b/README.zh.md index 60271e5..5aa921d 100644 --- a/README.zh.md +++ b/README.zh.md @@ -39,7 +39,7 @@ 2. 依次输入并执行下列命令: ``` bash -curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo apt-key add - +curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo tee /etc/apt/trusted.gpg.d/zjumirrors.asc curl https://mirrors.zju.edu.cn/openzjunet/zjunet.list | sudo tee /etc/apt/sources.list.d/zjunet.list sudo apt-get update sudo apt-get install zjunet