feat: 更新 Debian 12 的 apt 源信息及对应的脚本文件
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
deb http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
|
||||
deb http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
|
||||
deb http://mirrors.aliyun.com/debian-security/ bullseye-security main
|
||||
Types: deb
|
||||
# http://snapshot.debian.org/archive/debian/20230703T000000Z
|
||||
URIs: http://mirrors.aliyun.com/debian
|
||||
Suites: bookworm bookworm-updates
|
||||
Components: main
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
|
||||
Types: deb
|
||||
# http://snapshot.debian.org/archive/debian-security/20230703T000000Z
|
||||
URIs: http://mirrors.aliyun.com/debian-security
|
||||
Suites: bookworm-security
|
||||
Components: main
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
@@ -1,3 +1,13 @@
|
||||
deb http://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
|
||||
deb http://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free
|
||||
deb http://mirrors.ustc.edu.cn/debian-security/ bullseye/updates main contrib non-free
|
||||
Types: deb
|
||||
# http://snapshot.debian.org/archive/debian/20230703T000000Z
|
||||
URIs: http://mirrors.ustc.edu.cn/debian
|
||||
Suites: bookworm bookworm-updates
|
||||
Components: main
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
|
||||
Types: deb
|
||||
# http://snapshot.debian.org/archive/debian-security/20230703T000000Z
|
||||
URIs: http://mirrors.ustc.edu.cn/debian-security
|
||||
Suites: bookworm-security
|
||||
Components: main
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
@@ -3,4 +3,4 @@
|
||||
#
|
||||
# shell 执行参数,分别为 -e(命令执行错误则退出脚本) -u(变量未定义则报错) -x(打印实际待执行的命令行)
|
||||
set -eux
|
||||
cp /etc/apt/sources/sources.list.${1:-default} /etc/apt/sources.list
|
||||
cp /etc/apt/sources/sources.list.${1:-default} /etc/apt/sources.list.d/debian.sources
|
||||
|
||||
Reference in New Issue
Block a user