mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 16:57:04 +00:00
Update install.sh, avoid ARCH: unbound variable
This commit is contained in:
@@ -26,7 +26,8 @@ require() {
|
|||||||
|
|
||||||
[ "$(uname -s)" = "Linux" ] || error 'This script is intended to run on Linux only.'
|
[ "$(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" ;;
|
x86_64) ARCH="amd64" ;;
|
||||||
aarch64|arm64) ARCH="arm64" ;;
|
aarch64|arm64) ARCH="arm64" ;;
|
||||||
*) error "Unsupported architecture: $ARCH" ;;
|
*) error "Unsupported architecture: $ARCH" ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user