From 78721c6fc85a42ccd78b449f40cf39270c38e8da Mon Sep 17 00:00:00 2001 From: mei Date: Mon, 3 Feb 2025 09:59:08 +0800 Subject: [PATCH] update --- script/ollama.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/ollama.sh b/script/ollama.sh index 5a1805a..32f0113 100644 --- a/script/ollama.sh +++ b/script/ollama.sh @@ -80,7 +80,7 @@ $SUDO install -o0 -g0 -m755 -d $BINDIR $SUDO install -o0 -g0 -m755 -d "$OLLAMA_INSTALL_DIR" status "Downloading Linux ${ARCH} bundle" curl --fail --show-error --location --progress-bar \ - "https://ollama.com/download/ollama-linux-${ARCH}.tgz${VER_PARAM}" | \ + "https://c.mmeiblog.cn/d/share/mirror/ollama/ollama-linux-${ARCH}.tgz${VER_PARAM}" | \ $SUDO tar -xzf - -C "$OLLAMA_INSTALL_DIR" if [ "$OLLAMA_INSTALL_DIR/bin/ollama" != "$BINDIR/ollama" ] ; then status "Making ollama accessible in the PATH in $BINDIR"