diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 8d46d5acc..9c66fc2a0 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -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 diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index 8694da970..8a2d311d0 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -48,7 +48,7 @@ msg_ok "Installed Open WebUI" read -r -p "${TAB3}Would you like to add Ollama? " 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 </etc/systemd/system/ollama.service