Use apt_update_safe instead of aborting on a failed apt update (#17462)

This commit is contained in:
CanbiZ (MickLesk)
2026-09-24 08:06:49 +02:00
committed by GitHub
parent ba1409a920
commit b855a5782a
151 changed files with 157 additions and 157 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ Components: main contrib
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
EOF
mv /etc/apt/sources.list /etc/apt/sources.list.bak
$STD apt update
apt_update_safe
fi
msg_ok "Converted APT sources"
@@ -128,7 +128,7 @@ if [[ "$(arch_resolve)" == "amd64" ]]; then
cp -a /rootfs/. /
rm -rf /rootfs
rm -f /etc/apt/sources.list.d/intel-gpu-jammy.list /usr/share/keyrings/intel-graphics.gpg
$STD apt update
apt_update_safe
ldconfig
msg_ok "Built Intel Media Driver"
fi