修复loong64无法加全源的问题

This commit is contained in:
2024-09-27 22:11:53 +08:00
parent a0b56b85ff
commit c29171afdc
@@ -17,7 +17,7 @@ export DEBIAN_FRONTEND=noninteractive # 防止卡 tzdate
# 写入 GXDE 源
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/tianlu ./" >> /etc/apt/sources.list.d/gxde-os.list
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/bixie ./" >> /etc/apt/sources.list.d/gxde-os.list
if [[ $1 == "loong64" ]]; then
if [[ $(dpkg --print-architecture) == "loong64" ]]; then
echo "deb [trusted=true] http://mirror.sjtu.edu.cn/debian-ports unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list
fi
for i in {1..8};