mirror of
https://github.com/linuxserver/docker-piwigo.git
synced 2026-04-13 00:04:24 +08:00
Merge pull request #58 from julienhoarau/fix-template-extension
Fix template-extension persistence
This commit is contained in:
commit
06b2466259
@ -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" }
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user