aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 18:39:50 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 18:39:50 -0500
commitea0af7bd05cfe913136c801c18588ffb147f066d (patch)
tree98114d9e9e7500ea3ce197a84b3a86af83c0eaaa
parentFix typoes (diff)
downloadjellyfin-packaging-ea0af7bd05cfe913136c801c18588ffb147f066d.tar.gz
jellyfin-packaging-ea0af7bd05cfe913136c801c18588ffb147f066d.tar.bz2
jellyfin-packaging-ea0af7bd05cfe913136c801c18588ffb147f066d.zip
Fix invalid tests (/bin/sh)
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 15c34bb..16d143a 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -156,7 +156,7 @@ RUN apt-get update \
# Prefer NEO to Beignet since the latter one doesn't support Comet Lake or newer for now.
# Do not use the intel-opencl-icd package from repo since they will not build with RELEASE_WITH_REGKEYS enabled.
# https://github.com/intel/compute-runtime/releases
-RUN if [[ ${PACKAGE_ARCH} == "amd64" ]]; then \
+RUN if test "${PACKAGE_ARCH}" == "amd64"; then \
mkdir intel-compute-runtime \
&& pushd intel-compute-runtime \
&& curl -LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-core_${IGC_VERSION}_amd64.deb \
@@ -173,7 +173,7 @@ RUN if [[ ${PACKAGE_ARCH} == "amd64" ]]; then \
&& rm -rf /var/cache/apt/archives* /var/lib/apt/lists/*
# Rockchip RK3588 libmali OpenCL dependencies:
-RUN if [[ ${PACKAGE_ARCH} == "arm64" ]]; then \
+RUN if test "${PACKAGE_ARCH}" == "arm64"; then \
mkdir libmali-rockchip \
&& cd libmali-rockchip \
&& curl -LO https://github.com/tsukumijima/libmali-rockchip/releases/download/${MALI_PKG_TAG}/libmali-${MALI_PKG_CFG}_${MALI_PKG_VER}.deb \
bgstack15