Merge pull request #599 from jmorganca/mxyng/install.sh

update install.sh
This commit is contained in:
Michael Yang 2023-09-25 18:24:13 -07:00 committed by GitHub
commit 11f920f209
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ if [ -n "$NEEDS" ]; then
fi fi
status "Downloading ollama..." status "Downloading ollama..."
$SUDO curl --fail --show-error --location --progress-bar -o $TEMP_DIR/ollama "https://ollama.ai/download/ollama-linux-$ARCH" curl --fail --show-error --location --progress-bar -o $TEMP_DIR/ollama "https://ollama.ai/download/ollama-linux-$ARCH"
status "Installing ollama to /usr/bin..." status "Installing ollama to /usr/bin..."
$SUDO install -o0 -g0 -m755 -d /usr/bin $SUDO install -o0 -g0 -m755 -d /usr/bin