Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyo authored Nov 9, 2018
1 parent e8a1d68 commit 2695813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
假设你的服务器是美国,例如选择镜像源: `us.sources.list`
如果是其他地区,请更换下面代码中的 `us.sources.list` 中的 `us`
```
mv /etc/apt/sources.list /etc/apt/sources.list.bak && wget -N --no-check-certificate -O "/etc/apt/sources.list" "https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/sources/us.sources.list"`
mv /etc/apt/sources.list /etc/apt/sources.list.bak && wget -N --no-check-certificate -O "/etc/apt/sources.list" "https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/sources/us.sources.list"
```
上面代码的意思是,把原源文件重命名为 `sources.list.bak` ,然后下载新的源文件。
如果下载失败,或者新的源文件使用有问题,可以通过这个命令恢复:
Expand Down

0 comments on commit 2695813

Please sign in to comment.