File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function update_script() {
3636 msg_ok " Services Stopped"
3737
3838 TMP_TAR=$( mktemp --suffix=.tgz)
39- curl -fL# -o " ${TMP_TAR} " " https://github.com/ollama/ollama/releases/download/${RELEASE} /ollama-linux-amd64.tgz"
39+ curl -fL# -C - - o " ${TMP_TAR} " " https://github.com/ollama/ollama/releases/download/${RELEASE} /ollama-linux-amd64.tgz"
4040 msg_info " Updating Ollama to ${RELEASE} "
4141 rm -rf /usr/local/lib/ollama
4242 rm -rf /usr/local/bin/ollama
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ mkdir -p $OLLAMA_INSTALL_DIR
5151OLLAMA_URL=" https://github.com/ollama/ollama/releases/download/${RELEASE} /ollama-linux-amd64.tgz"
5252TMP_TAR=" /tmp/ollama.tgz"
5353echo -e " \n"
54- if curl -fL# -o " $TMP_TAR " " $OLLAMA_URL " ; then
54+ if curl -fL# -C - - o " $TMP_TAR " " $OLLAMA_URL " ; then
5555 if tar -xzf " $TMP_TAR " -C " $OLLAMA_INSTALL_DIR " ; then
5656 ln -sf " $OLLAMA_INSTALL_DIR /bin/ollama" " $BINDIR /ollama"
5757 echo " ${RELEASE} " > /opt/Ollama_version.txt
You can’t perform that action at this time.
0 commit comments