mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 07:46:37 +08:00
@@ -34,7 +34,11 @@ fi
|
|||||||
apt install -f -y
|
apt install -f -y
|
||||||
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
||||||
if [[ -f /sources-list/sources-$1.list ]]; then
|
if [[ -f /sources-list/sources-$1.list ]]; then
|
||||||
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
if [[ $(dpkg --print-architecture) == "riscv64" ]]; then
|
||||||
|
cp /sources-list/sources-$1-without-backport.list /etc/apt/sources.list.d -v
|
||||||
|
else
|
||||||
|
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
for i in {1..8};
|
for i in {1..8};
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||||
|
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||||
|
# deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||||
|
|
||||||
|
deb https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||||
|
# deb-src https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||||
|
|
||||||
|
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||||
|
deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||||
|
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||||
Reference in New Issue
Block a user