Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Get the CPU arch
ARCH_STRING=$(uname -a)
x86_64='x86_64'
arm64='aarch64'
echo $ARCH_STRING
case $ARCH_STRING in
@marvinmartian
marvinmartian / minio-update.sh
Last active June 21, 2022 16:24
Update Minio Shell Script for Raspberry Pi
#!/bin/sh
MINIO_RELEASE_URL=https://api.github.com/repos/minio/minio/releases
echo "Current Minio Version:"
MINIO_INSTALLED_VERSION=$(/usr/local/bin/minio --version | head -n 1 | sed 's/minio version //' | sed 's/ .*//')
echo $MINIO_INSTALLED_VERSION
echo "Latest Remote Version:"
MINIO_REMOTE_VERSION=$(curl -s $MINIO_RELEASE_URL | python3 -c 'import sys, json; print(json.load(sys.stdin

Keybase proof

I hereby claim:

  • I am marvinmartian on github.
  • I am marvinmartian (https://keybase.io/marvinmartian) on keybase.
  • I have a public key whose fingerprint is 364A F291 748B A634 F61A 7AE5 FE5E 3E81 340B 9232

To claim this, I am signing this object: