Update the cURL command

This commit is contained in:
adrien 2022-04-18 23:29:42 +02:00
parent 534ec03a75
commit 60baaeac9f
Signed by: adrien
GPG Key ID: 4F17BEA67707AC21
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@ This script uses `curl` and `restorecon` commands but if you have followed my ar
Since this script must be executed with root rights, it is a good practice to place it in `/usr/local/sbin/`.
```
sudo curl -Lo /usr/local/sbin/gitea-updater -sSf https://gitea.illuad.fr/adrien/gitea-updater/raw/branch/master/gitea-updater
curl -LOsSf https://gitea.illuad.fr/adrien/gitea-updater/raw/branch/master/gitea-updater
sudo mv gitea-updater /usr/local/sbin
sudo chmod 750 /usr/local/sbin/gitea-updater
```