From 931046ecd8bbfbeda6fcd5340603316142801c09 Mon Sep 17 00:00:00 2001 From: Martin Montes Date: Sat, 11 May 2024 10:14:36 +0200 Subject: [PATCH] Fix get_architecture function --- kubernetes.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kubernetes.sh b/kubernetes.sh index a540a79..42fb3c7 100755 --- a/kubernetes.sh +++ b/kubernetes.sh @@ -41,11 +41,11 @@ function get_user_home() { function get_architecture() { ARCH=$(uname -m) - if [ $ARCH == "x86_64" ]; then + if [ $ARCH = "x86_64" ]; then echo "amd64" - elif [ $ARCH == "aarch64" ]; then + elif [ $ARCH = "aarch64" ]; then echo "arm64" - elif [[ $ARCH == arm* ]]; then + elif [[ $ARCH = "arm" ]]; then echo "arm" else echo ""