Pathing updates for Gitea 1.21.5 -- custom/public to custom/public/assets

This commit is contained in:
DarkFeather 2024-03-07 12:28:46 -06:00
parent e75d03a313
commit 323b4dd306
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ a {
| sed "s/$ROW/$ANINIXROW/gI" \ | sed "s/$ROW/$ANINIXROW/gI" \
| sed "s/$NAV/$ANINIXNAV/gI" \ | sed "s/$NAV/$ANINIXNAV/gI" \
| sed "s/$HOVER/$ANINIXHOVER/gI" \ | sed "s/$HOVER/$ANINIXHOVER/gI" \
| sed "s/$BGCOLOR/$ANINIXBG/gI" > /var/lib/gitea/custom/public/css/theme-aninix.css | sed "s/$BGCOLOR/$ANINIXBG/gI" > /var/lib/gitea/custom/public/assets/css/theme-aninix.css
cd /var/lib/gitea/web-snippets cd /var/lib/gitea/web-snippets
head="$(curl -ks https://aninix.net/ | grep -B 99999 -E '^<div class="home"')" head="$(curl -ks https://aninix.net/ | grep -B 99999 -E '^<div class="home"')"
@ -60,5 +60,5 @@ foot="$(curl -ks https://aninix.net/ | grep -A 99999 -E '<footer>')"
for i in `find . -type f`; do for i in `find . -type f`; do
(echo "$head" (echo "$head"
cat "$i" cat "$i"
echo "$foot") > /var/lib/gitea/custom/public/"$i".html echo "$foot") > /var/lib/gitea/custom/public/assets/"$i".html
done done

View File

@ -53,7 +53,7 @@
become: yes become: yes
get_url: get_url:
url: https://github.com/BenZuser/Emby-Web-Dark-Themes-CSS/raw/master/RED/theme.css url: https://github.com/BenZuser/Emby-Web-Dark-Themes-CSS/raw/master/RED/theme.css
dest: /var/lib/gitea/custom/public/css/emby-web-dark-theme-BenZuser.css dest: /var/lib/gitea/custom/public/assets/css/emby-web-dark-theme-BenZuser.css
owner: gitea owner: gitea
group: gitea group: gitea