immich: use dpkg-query to get intel-opencl-icd version (#10848)

This commit is contained in:
CanbiZ (MickLesk)
2026-01-16 09:32:13 +01:00
committed by GitHub
parent f0e630cbfe
commit 4fc57b0e0b
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ EOF
$STD apt install -y ./*.deb
rm ./*.deb
$STD apt-mark hold libigdgmm12
dpkg -l | grep -m1 "intel-opencl-icd" | awk '{print $3}' >~/.intel_version
dpkg-query -W -f='${Version}\n' intel-opencl-icd >~/.intel_version
msg_ok "Intel iGPU dependencies updated"
fi
rm ./Dockerfile

View File

@@ -112,7 +112,7 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
$STD apt-mark hold libigdgmm12
$STD popd
rm -rf "$tmp_dir"
dpkg -l | grep -m1 "intel-opencl-icd" | awk '{print $3}' >~/.intel_version
dpkg-query -W -f='${Version}\n' intel-opencl-icd >~/.intel_version
msg_ok "Installed OpenVINO dependencies"
fi