Skip to content

Commit

Permalink
Update minio.sh to support ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintenQVD0 authored Jul 8, 2022
1 parent 4ba86c9 commit 49dc623
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/minio/minio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ echo "$(tput setaf 3)Performing update...."
echo "$(tput setaf 1)Removing old minio version"
rm minio
echo "$(tput setaf 3)Downloading new minio version"
wget https://dl.min.io/server/minio/release/linux-amd64/minio
export ARCH=$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")
wget https://dl.min.io/server/minio/release/linux-$ARCH/minio
chmod +x minio
echo "$(tput setaf 2)Update Complete"
fi
Expand Down

0 comments on commit 49dc623

Please sign in to comment.