fix openwebui update and installer (#7788)

* Update curl command to support resuming downloads

* fix: correct curl command for downloading Ollama to support resuming
This commit is contained in:
HeedfulCrayon 2025-09-21 10:56:31 -06:00 committed by GitHub
parent 2dc95b6b22
commit 5ab375fd89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ function update_script() {
msg_info "Stopping Service"
systemctl stop ollama
msg_ok "Stopped Service"
curl -fsCSLO https://ollama.com/download/ollama-linux-amd64.tgz
curl -fsSLO -C - https://ollama.com/download/ollama-linux-amd64.tgz
rm -rf /usr/lib/ollama
rm -rf /usr/bin/ollama
tar -C /usr -xzf ollama-linux-amd64.tgz

View File

@ -48,7 +48,7 @@ msg_ok "Installed Open WebUI"
read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing Ollama"
curl -fsCSLO https://ollama.com/download/ollama-linux-amd64.tgz
curl -fsSLO -C - https://ollama.com/download/ollama-linux-amd64.tgz
tar -C /usr -xzf ollama-linux-amd64.tgz
rm -rf ollama-linux-amd64.tgz
cat <<EOF >/etc/systemd/system/ollama.service