mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-25 23:33:00 +08: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"
|
echo "$(tput setaf 1)Removing old minio version"
|
||||||
rm minio
|
rm minio
|
||||||
echo "$(tput setaf 3)Downloading new minio version"
|
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
|
chmod +x minio
|
||||||
echo "$(tput setaf 2)Update Complete"
|
echo "$(tput setaf 2)Update Complete"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user