mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-21 18:26:04 +00:00
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:
parent
4713941415
commit
e3aabd81a3
@ -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
|
||||
|
@ -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 -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz
|
||||
curl -fsCSLO 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user