From 250613912a36462b82c9da36cd4040b7f91d9de4 Mon Sep 17 00:00:00 2001 From: Jiachen YANG Date: Wed, 22 May 2019 15:09:17 +0900 Subject: [PATCH 1/2] help/AUR add steps for yay --- _posts/help/1970-01-01-AUR.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/_posts/help/1970-01-01-AUR.md b/_posts/help/1970-01-01-AUR.md index 0348945..c141a41 100644 --- a/_posts/help/1970-01-01-AUR.md +++ b/_posts/help/1970-01-01-AUR.md @@ -6,8 +6,24 @@ layout: help # AUR 镜像使用帮助 +## yaourt 用户 + 修改 `/etc/yaourtrc`,去掉 `# AURURL` 的注释,修改为 ``` AURURL="https://aur.tuna.tsinghua.edu.cn" ``` + +## yay 用户 + +执行以下命令修改 aururl : + +``` +yay --aururl "https://aur.tuna.tsinghua.edu.cn" --save +``` + +修改的配置文件位于 `~/.config/yay/config.json` ,还可通过以下命令查看修改过的配置: + +``` +yay -P -g +``` From 5ace7c41335e0a008f7a4771fe2077c01904c47c Mon Sep 17 00:00:00 2001 From: Jiachen YANG Date: Wed, 22 May 2019 15:20:53 +0900 Subject: [PATCH 2/2] help/respbian fix link description to CC-3.0 link --- _posts/help/1970-01-01-raspbian.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/help/1970-01-01-raspbian.md b/_posts/help/1970-01-01-raspbian.md index b3f4f41..06cd8db 100644 --- a/_posts/help/1970-01-01-raspbian.md +++ b/_posts/help/1970-01-01-raspbian.md @@ -108,4 +108,4 @@ Foundation“树莓派基金会”并无直接联系。 本文档内容由 Raspberry Pi 中文社区“树莓爱好者论坛”提供。按照[知识共享署名-非商业性使用 3.0 -中国大陆许可协议授权清华大学镜像站使用](http://creativecommons.org/licenses/by-nc/3.0/cn/)。 +中国大陆许可协议](http://creativecommons.org/licenses/by-nc/3.0/cn/)授权清华大学镜像站使用。