Fix installation path

This commit is contained in:
Sainnhe Park 2022-10-31 17:21:36 +08:00
parent 2ca219bee7
commit ebc8921fe7

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:
```bash
sudo docker exec -u <run-user> <gitea-container-name> sh -c 'mkdir -p <custom-path> && curl --output-dir <custom-path> -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/css && curl --output-dir <custom-path>/public/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.
@ -135,7 +135,7 @@ Restart Gitea instance to apply change.
### If Gitea is not deployed via Docker
```bash
mkdir -p <custom-path> && curl --output-dir <custom-path> -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css
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
```
Where `<custom-path>` can be found via `gitea help`.