Merge pull request #58 from julienhoarau/fix-template-extension

Fix template-extension persistence
This commit is contained in:
Eric Nemchik 2023-01-16 09:57:59 -06:00 committed by GitHub
commit 06b2466259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "16.01.23:", desc: "Fix broken custom template persistence." }
- { date: "08.11.22:", desc: "Rebase to Alpine 3.16, migrate to s6v3. Move application install to /app/www/public, add migration for existing users. Container updates should now update the application correctly." }
- { date: "20.08.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))." }
- { date: "29.06.21:", desc: "Rebase to 3.14, Add php7-zip package" }

View File

@ -16,6 +16,7 @@ if [[ -f /gallery/index.php ]]; then
mv /gallery/plugins/ /config/www/plugins
mv /gallery/themes/ /config/www/themes
mv /gallery/local/ /config/www/local
mv /gallery/template-extension/ /config/www/template-extension
rm /gallery/index.php
rm /config/www/gallery
sed -i "s|root /config/www/gallery;|root /app/www/public;|" /config/nginx/site-confs/default.conf
@ -49,6 +50,7 @@ symlinks=( \
/app/www/public/local \
/app/www/public/themes \
/app/www/public/_data \
/app/www/public/template-extension \
)
for i in "${symlinks[@]}"; do