From 0cffc139f7565929e2e3e4ddaa3bca8185fe5748 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 31 Aug 2021 16:55:12 +0200 Subject: [PATCH] Update 41-folders --- piwigo/rootfs/etc/cont-init.d/41-folders | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piwigo/rootfs/etc/cont-init.d/41-folders b/piwigo/rootfs/etc/cont-init.d/41-folders index 5829f8402..aaa7ae4ca 100644 --- a/piwigo/rootfs/etc/cont-init.d/41-folders +++ b/piwigo/rootfs/etc/cont-init.d/41-folders @@ -20,7 +20,7 @@ if [ ! -d /share/piwigo/config ]; then ln -s /share/piwigo/config /gallery/local echo "links done" else - rm /gallery/local/config + rm -r /gallery/local/config ln -s /share/piwigo/config /gallery/local echo "Using existing config" fi @@ -31,7 +31,7 @@ if [ ! -d /share/piwigo/keys ]; then ln -s /share/piwigo/keys /config echo "links done" else - rm /config/keys + rm -r /config/keys ln -s /share/piwigo/keys /config echo "Using existing keys folder" fi