Skip to content

Commit 5ab375f

Browse files
fix openwebui update and installer (#7788)
* Update curl command to support resuming downloads * fix: correct curl command for downloading Ollama to support resuming
1 parent 2dc95b6 commit 5ab375f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ct/openwebui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function update_script() {
3636
msg_info "Stopping Service"
3737
systemctl stop ollama
3838
msg_ok "Stopped Service"
39-
curl -fsCSLO https://ollama.com/download/ollama-linux-amd64.tgz
39+
curl -fsSLO -C - https://ollama.com/download/ollama-linux-amd64.tgz
4040
rm -rf /usr/lib/ollama
4141
rm -rf /usr/bin/ollama
4242
tar -C /usr -xzf ollama-linux-amd64.tgz

install/openwebui-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ msg_ok "Installed Open WebUI"
4848
read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt
4949
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
5050
msg_info "Installing Ollama"
51-
curl -fsCSLO https://ollama.com/download/ollama-linux-amd64.tgz
51+
curl -fsSLO -C - https://ollama.com/download/ollama-linux-amd64.tgz
5252
tar -C /usr -xzf ollama-linux-amd64.tgz
5353
rm -rf ollama-linux-amd64.tgz
5454
cat <<EOF >/etc/systemd/system/ollama.service

0 commit comments

Comments
 (0)