Update Ollama Installer in OpenWebUI to resume downloads if interrupted (#7779)
* Fix curl command options for downloading file * Update curl command for Ollama installation
This commit is contained in:
@@ -36,7 +36,7 @@ function update_script() {
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop ollama
|
||||
msg_ok "Stopped Service"
|
||||
curl -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz
|
||||
curl -fsCSLO 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
|
||||
|
||||
Reference in New Issue
Block a user