mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 06:56:36 +08:00
修复有时因为update出问题导致无法正常构建的问题
This commit is contained in:
@@ -20,7 +20,14 @@ echo "deb [trusted=true] https://repo-gxde.gfdgdxi.top/gxde-os/bixie ./" >> /etc
|
||||
if [[ $1 == "loong64" ]]; then
|
||||
echo "deb [trusted=true] http://mirror.sjtu.edu.cn/debian-ports unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list
|
||||
fi
|
||||
apt update
|
||||
for i in {1..8};
|
||||
do
|
||||
apt update -y
|
||||
if [[ $? == 0 ]]; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
apt install dpkg-dev sudo neofetch debian-ports-archive-keyring debian-archive-keyring -y
|
||||
neofetch
|
||||
#if [[ `arch` != "x86_64" ]]; then
|
||||
@@ -44,5 +51,6 @@ do
|
||||
if [[ $? == 0 ]]; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
exit 0
|
||||
Reference in New Issue
Block a user