Remove inline comments

This commit is contained in:
Ben committed 2026-11-16 10:23:26 +01:00
1 parent d0571b404f
commit 5a6a8aa6fc
2 files changed
-5

No files matched your search

-3
View File
@@ -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"
-2
View File
@@ -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