Fix installation path

This commit is contained in:
Sainnhe Park 2023-11-15 11:33:38 +08:00
parent d810451270
commit 2f2b76c074
No known key found for this signature in database
GPG Key ID: 521452943285CB57

View File

@ -117,7 +117,7 @@ and `<gitea-container-name>` is the container name of your gitea instance that c
Now execute the following command to install this theme: Now execute the following command to install this theme:
```bash ```bash
sudo docker exec -u <run-user> <gitea-container-name> sh -c 'mkdir -p <custom-path>/public/css && curl --output-dir <custom-path>/public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css' sudo docker exec -u <run-user> <gitea-container-name> sh -c 'mkdir -p <custom-path>/public/assets/css && curl --output-dir <custom-path>/public/assets/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css'
``` ```
Replace `<custom-path>` with the `CustomPath` in this command. Replace `<custom-path>` with the `CustomPath` in this command.
@ -135,7 +135,7 @@ Restart Gitea instance to apply change.
### If Gitea is not deployed via Docker ### If Gitea is not deployed via Docker
```bash ```bash
mkdir -p <custom-path>/public/css && curl --output-dir <custom-path>/public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css mkdir -p <custom-path>/public/assets/css && curl --output-dir <custom-path>/public/assets/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css
``` ```
Where `<custom-path>` can be found via `gitea help`. Where `<custom-path>` can be found via `gitea help`.