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