From ebc8921fe710bf5f4c0231bfe59bc9a778c0b086 Mon Sep 17 00:00:00 2001 From: Sainnhe Park Date: Mon, 31 Oct 2022 17:21:36 +0800 Subject: [PATCH] Fix installation path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 151dad9..7805d1a 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ and `` is the container name of your gitea instance that c Now execute the following command to install this theme: ```bash -sudo docker exec -u sh -c 'mkdir -p && curl --output-dir -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css' +sudo docker exec -u sh -c 'mkdir -p /public/css && curl --output-dir /public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css' ``` Replace `` 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 && curl --output-dir -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css +mkdir -p /public/css && curl --output-dir /public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css ``` Where `` can be found via `gitea help`.