diff --git a/readme-vars.yml b/readme-vars.yml index 0fac460..40c95d6 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -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" } diff --git a/root/etc/s6-overlay/s6-rc.d/init-piwigo-config/run b/root/etc/s6-overlay/s6-rc.d/init-piwigo-config/run index f2e88ad..3a3ad2d 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-piwigo-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-piwigo-config/run @@ -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