Skip to content

Commit

Permalink
🩹 minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufcanb committed Mar 2, 2024
1 parent 16ce0f7 commit 1b100a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Download instructions can be followed at the following link: [https://ollama.com
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama

# With GPU (Nvidia only)
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama"
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
```

### Installation Script
Expand Down
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -eu
set -e

status() { echo ">>> $*" >&2; }
error() { echo "ERROR $*"; }
Expand Down Expand Up @@ -130,6 +130,7 @@ if [ "$(id -u)" -ne 0 ]; then
# Running as root, no need for sudo
if ! available sudo; then
error "This script requires superuser permissions. Please re-run as root."
exit 1
fi

SUDO="sudo"
Expand Down

0 comments on commit 1b100a1

Please sign in to comment.