瀏覽代碼

Merge pull request #599 from jmorganca/mxyng/install.sh

update install.sh
Michael Yang 1 年之前
父節點
當前提交
11f920f209
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/install.sh

+ 1 - 1
scripts/install.sh

@@ -52,7 +52,7 @@ if [ -n "$NEEDS" ]; then
 fi
 fi
 
 
 status "Downloading ollama..."
 status "Downloading ollama..."
-$SUDO curl --fail --show-error --location --progress-bar -o $TEMP_DIR/ollama "https://ollama.ai/download/ollama-linux-$ARCH"
+curl --fail --show-error --location --progress-bar -o $TEMP_DIR/ollama "https://ollama.ai/download/ollama-linux-$ARCH"
 
 
 status "Installing ollama to /usr/bin..."
 status "Installing ollama to /usr/bin..."
 $SUDO install -o0 -g0 -m755 -d /usr/bin
 $SUDO install -o0 -g0 -m755 -d /usr/bin