From 60baaeac9f144543d9b07c78234db896be1a42c8 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 18 Apr 2022 23:29:42 +0200 Subject: [PATCH] Update the cURL command --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67d917f..cd7bbd5 100644 --- a/README.md +++ b/README.md @@ -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 ```