fix(install.sh): fix version typo (#2645)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-06-24 10:30:17 +02:00 committed by GitHub
parent 12513ebae0
commit 2c94e15746
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -489,7 +489,7 @@ install_binary_darwin() {
[ "$(uname -s)" = "Darwin" ] || fatal 'This script is intended to run on macOS only.'
info "Downloading local-ai..."
curl --fail --show-error --location --progress-bar -o $TEMP_DIR/local-ai "https://github.com/mudler/LocalAI/releases/download/v${VERSION}/local-ai-Darwin-${ARCH}"
curl --fail --show-error --location --progress-bar -o $TEMP_DIR/local-ai "https://github.com/mudler/LocalAI/releases/download/${VERSION}/local-ai-Darwin-${ARCH}"
info "Installing local-ai..."
install -o0 -g0 -m755 $TEMP_DIR/local-ai /usr/local/bin/local-ai