Skip to content

Commit

Permalink
Migrate more code blocks to debsources
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Apr 24, 2024
1 parent 09b698b commit 45dd33c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/linuxmint.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ i386,amd64

- 对于基于 Ubuntu 的原版,以 Linuxmint 19 为例:

```deb
```debsources
deb https://mirrors.ustc.edu.cn/linuxmint/ tara main upstream import backport
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
Expand All @@ -38,7 +38,7 @@ i386,amd64
- 对于基于 Debian 的 LMDE,以 LMDE 2 为例:
```deb
```debsources
deb https://mirrors.ustc.edu.cn/linuxmint/ betsy main upstream import
deb https://mirrors.ustc.edu.cn/debian jessie main contrib non-free
deb https://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free
Expand Down
2 changes: 1 addition & 1 deletion docs/raspberrypi.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ sudo sed \
{% for release in debian_releases %}
=== "Raspbian {{ release.codename }}"

```shell title="/etc/apt/sources.list.d/raspi.list"
```debsources title="/etc/apt/sources.list.d/raspi.list"
deb http://mirrors.ustc.edu.cn/raspberrypi/debian/ {{ release.codename }} main
#deb-src http://mirrors.ustc.edu.cn/raspberrypi/debian/ {{ release.codename }} main
```
Expand Down
2 changes: 1 addition & 1 deletion docs/raspbian.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Arm64 架构的 Raspberry Pi OS 仍处于 beta 状态,本镜像上游亦不含
{% endif %}
=== "Raspbian {{ release.codename }}"

```shell title="/etc/apt/sources.list"
```debsources title="/etc/apt/sources.list"
deb https://mirrors.ustc.edu.cn/debian/ {{ release.codename }} main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian {{ release.codename }} main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ {{ release.codename }}-updates main contrib non-free
Expand Down

0 comments on commit 45dd33c

Please sign in to comment.