From 4f339389f7bed3071e9c91889083ea253c1d8372 Mon Sep 17 00:00:00 2001 From: YuCat-OVO <66810215+YuCat-OVO@users.noreply.github.com> Date: Sat, 2 Mar 2024 17:24:02 +0800 Subject: [PATCH] sh --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a9c3b18..6ccec50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,11 +35,11 @@ RUN \ fonts-wqy-zenhei \ desktop-file-utils && \ echo "**** install BaiduNetdisk ****" && \ - if [ "${TARGETPLATFORM}" == "linux/amd64" ]; then \ + if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \ echo "**** ${TARGETPLATFORM}, reading from url.json ****"; \ BAIDUNETDISK_VERSION=$(jq -r ".[-2]" /tmp/url.json); \ BAIDUNETDISK_URL=$(jq -r ".[-2]" /tmp/url.json); \ - elif [ "${TARGETPLATFORM}" == "linux/arm64" ]; then \ + elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \ echo "**** ${TARGETPLATFORM}, reading from url.json ****"; \ BAIDUNETDISK_VERSION=$(jq -r ".[-1]" /tmp/url.json); \ BAIDUNETDISK_URL=$(jq -r ".[-1]" /tmp/url.json); \