NVIDIA GPU: fix GLX mesa fallback aborting install due to silent() exit

This commit is contained in:
MickLesk
2026-04-04 22:34:57 +02:00
parent 9ce2fe9ee0
commit 985293a1c0

View File

@@ -5035,7 +5035,7 @@ NVIDIA_PIN
local nvidia_glx_dir="/usr/lib/nvidia"
if [[ ! -f "${nvidia_glx_dir}/libGL.so.1" ]] && [[ -d /usr/lib/mesa-diverted ]]; then
msg_info "NVIDIA GLX libs missing in container - falling back to mesa"
$STD update-glx --set glx /usr/lib/mesa-diverted 2>/dev/null || true
update-glx --set glx /usr/lib/mesa-diverted &>/dev/null || true
ldconfig 2>/dev/null || true
fi
fi