mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-10 04:42:09 +02:00
Use apt_update_safe instead of aborting on a failed apt update (#17462)
This commit is contained in:
committed by
GitHub
parent
ba1409a920
commit
b855a5782a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user