mirror of
https://github.com/pelican-eggs/minecraft.git
synced 2024-11-22 10:52:34 +01:00
Update minio.sh to support ARM64
This commit is contained in:
parent
4ba86c9f15
commit
49dc623e1e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user