mirror of
https://github.com/YuCat-OVO/BaiduNetdisk-Docker
synced 2025-05-10 20:10:04 +08:00
sh
This commit is contained in:
parent
0c2b7dc4b5
commit
4f339389f7
@ -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); \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user