Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Update install.sh, avoid ARCH: unbound variable

Victor Vieux6481b7f34c1f
diff --git a/scripts/install.sh b/scripts/install.sh
index b94cc95d5..9b6159895 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -26,7 +26,8 @@ require() {
[ "$(uname -s)" = "Linux" ] || error 'This script is intended to run on Linux only.'
-case "$(uname -m)" in
+ARCH=$(uname -m)
+case "$ARCH" in
x86_64) ARCH="amd64" ;;
aarch64|arm64) ARCH="arm64" ;;
*) error "Unsupported architecture: $ARCH" ;;