From 45dd33cb7532f53e5933711eaaa167e4e7bb4dee Mon Sep 17 00:00:00 2001 From: taoky Date: Thu, 25 Apr 2024 01:09:50 +0800 Subject: [PATCH] Migrate more code blocks to debsources --- docs/linuxmint.md | 4 ++-- docs/raspberrypi.md | 2 +- docs/raspbian.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/linuxmint.md b/docs/linuxmint.md index 313a8805..53773ef1 100644 --- a/docs/linuxmint.md +++ b/docs/linuxmint.md @@ -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 @@ -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 diff --git a/docs/raspberrypi.md b/docs/raspberrypi.md index cff84623..fa60b694 100644 --- a/docs/raspberrypi.md +++ b/docs/raspberrypi.md @@ -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 ``` diff --git a/docs/raspbian.md b/docs/raspbian.md index 89c69bdb..83a1016e 100644 --- a/docs/raspbian.md +++ b/docs/raspbian.md @@ -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