Use root commands in README
This commit is contained in:
@@ -7,7 +7,7 @@ This repository provides Debian packages for `gitea-runner`.
|
|||||||
Add the repository to the client:
|
Add the repository to the client:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo tee /etc/apt/sources.list.d/gitea-runner.list >/dev/null <<'EOF'
|
cat >/etc/apt/sources.list.d/gitea-runner.list <<'EOF'
|
||||||
deb [trusted=yes] https://git.24unix.net/tracer/gitea-runner-deb/raw/branch/master/ ./
|
deb [trusted=yes] https://git.24unix.net/tracer/gitea-runner-deb/raw/branch/master/ ./
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
@@ -15,8 +15,8 @@ EOF
|
|||||||
Update APT and install the package:
|
Update APT and install the package:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt update
|
apt update
|
||||||
sudo apt install gitea-runner
|
apt install gitea-runner
|
||||||
```
|
```
|
||||||
|
|
||||||
The installed service is named `gitea-runner`.
|
The installed service is named `gitea-runner`.
|
||||||
|
|||||||
Reference in New Issue
Block a user