anindya-hf-2002 commited on
Commit
c40cda9
·
verified ·
1 Parent(s): ac54c20

Update execute.sh

Browse files
Files changed (1) hide show
  1. execute.sh +2 -5
execute.sh CHANGED
@@ -8,11 +8,8 @@ log() {
8
  # Install and run Ollama
9
  log "Starting Ollama installation..."
10
  if ! curl -fsSL https://ollama.com/install.sh | sh; then
11
- # If the initial installation fails, try using sudo
12
- if ! curl -fsSL https://ollama.com/install.sh | sudo sh; then
13
- log "Failed to install Ollama even with sudo."
14
- exit 1
15
- fi
16
  fi
17
  log "Ollama installation completed."
18
 
 
8
  # Install and run Ollama
9
  log "Starting Ollama installation..."
10
  if ! curl -fsSL https://ollama.com/install.sh | sh; then
11
+ log "Failed to install Ollama."
12
+ exit 1
 
 
 
13
  fi
14
  log "Ollama installation completed."
15