From 5834fc098fbe0bfcb77fc02534215d3123d68330 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 21 Feb 2023 21:30:07 +0100 Subject: [PATCH] Update 41-folders.sh --- piwigo/rootfs/etc/cont-init.d/41-folders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piwigo/rootfs/etc/cont-init.d/41-folders.sh b/piwigo/rootfs/etc/cont-init.d/41-folders.sh index d0569d583..751625c34 100755 --- a/piwigo/rootfs/etc/cont-init.d/41-folders.sh +++ b/piwigo/rootfs/etc/cont-init.d/41-folders.sh @@ -15,7 +15,7 @@ else chown -R abc:abc /share/piwigo fi -if [ ! -d /share/piwigo/config ]; then +if [ ! -d /share/piwigo/config ] && [ -d /config/www/local/config ]; then echo "moving config folder" mv /config/www/local/config /share/piwigo ln -s /share/piwigo/config /config/www/local