1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix docker download path for mac platforms (#7102)

This commit is contained in:
Matt Hook 2022-06-22 10:06:46 +12:00 committed by GitHub
parent f86ba7b176
commit 767fabe0ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,9 @@ ARCH=$2
DOCKER_VERSION=${3:1} DOCKER_VERSION=${3:1}
DOWNLOAD_FOLDER=".tmp/download" DOWNLOAD_FOLDER=".tmp/download"
if [[ ${PLATFORM} == "darwin" ]]; then
PLATFORM="mac"
fi
if [[ ${ARCH} == "amd64" ]]; then if [[ ${ARCH} == "amd64" ]]; then
ARCH="x86_64" ARCH="x86_64"