From 5a6a8aa6fc216aa9259311bcad9ea80a4c629b3f Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 16 Nov 2026 10:23:26 +0100 Subject: [PATCH] Remove inline comments --- ct/ollama.sh | 3 --- ct/openwebui.sh | 2 -- 2 files changed, 5 deletions(-) diff --git a/ct/ollama.sh b/ct/ollama.sh index 04ca299e7..35270716a 100644 --- a/ct/ollama.sh +++ b/ct/ollama.sh @@ -34,9 +34,6 @@ function update_script() { if check_for_gh_release "ollama-com" "ollama/ollama"; then ensure_dependencies zstd - # Download into a staging dir while Ollama keeps serving, stop it only for the swap. - # The release tarball is >1.5 GB: stopping first meant long downtime on slow links, - # and a failed download left the container without any Ollama binary. OLLAMA_INSTALL_DIR="/usr/local/lib/ollama" OLLAMA_STAGING_DIR="${OLLAMA_INSTALL_DIR}.new" rm -rf "$OLLAMA_STAGING_DIR" diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 52ea78508..a273d0cad 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -101,8 +101,6 @@ EOF if [ -x "/usr/bin/ollama" ]; then msg_info "Checking for Ollama Update" if check_for_gh_release "ollama-com" "ollama/ollama"; then - # Download into a staging dir while Ollama keeps serving, stop it only for the swap - # (same pattern as ct/ollama.sh; a failed download leaves the running Ollama untouched). rm -rf /usr/lib/ollama.new mkdir -p /usr/lib/ollama.new if ! fetch_and_deploy_gh_release "ollama-com" "ollama/ollama" "prebuild" "latest" "/usr/lib/ollama.new" "ollama-linux-$(arch_resolve).tar.zst"; then