From 5f5f327ce3896b95265d7fefceedb12b594ca04b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 24 Oct 2021 23:47:46 +0200 Subject: [PATCH] Update run.sh --- webtrees/rootfs/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webtrees/rootfs/run.sh b/webtrees/rootfs/run.sh index 276f5f277..ebacbadcd 100644 --- a/webtrees/rootfs/run.sh +++ b/webtrees/rootfs/run.sh @@ -70,9 +70,9 @@ chown -R www-data:www-data $WEBTREES_HOME echo "... make links with data in /share" for VOL in "data" "media" "modules_v4"; do mkdir -p $OLD_WEBTREES_HOME/$VOL -cp -rn $OLD_WEBTREES_HOME/$VOL $WEBTREES_HOME -rm -r $OLD_WEBTREES_HOME/$VOL -ln -s $WEBTREES_HOME/$VOL $OLD_WEBTREES_HOME +cp -rn $OLD_WEBTREES_HOME/$VOL $WEBTREES_HOME || true +rm -r $OLD_WEBTREES_HOME/$Vol || true +ln -s $WEBTREES_HOME/$VOL $OLD_WEBTREES_HOME || true done chown -R www-data:www-data $WEBTREES_HOME