Fix: Ignore apt-get update failure in setup script

This commit is contained in:
2026-01-17 19:17:13 +08:00
parent b15752e051
commit 9bd2b21d44

View File

@@ -8,7 +8,7 @@ CODENAME=${VERSION_CODENAME:-}
VERSION=${VERSION_ID:-}
echo "更新系统软件源..."
apt-get update -y
apt-get update -y || true
echo "安装基础依赖..."
apt-get install -y python3 python3-venv python3-pip git ffmpeg rsync curl gnupg libcap2-bin