From c0b04137bd6ed023aa75fe5f54e8a1c7284371b7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 24 Oct 2021 22:44:58 +0200 Subject: [PATCH] Update run.sh --- webtrees/rootfs/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtrees/rootfs/run.sh b/webtrees/rootfs/run.sh index c11be9832..fe06ef1f0 100644 --- a/webtrees/rootfs/run.sh +++ b/webtrees/rootfs/run.sh @@ -59,7 +59,7 @@ bashio::log.info "Launching app, please wait" OLD_WEBTREES_HOME=$WEBTREES_HOME export WEBTREES_HOME="/share/webtrees" -cp -rn /var/www/webtrees "$(dirname "$OLD_WEBTREES_HOME")" +cp -rn /var/www/webtrees "$(dirname "$OLD_WEBTREES_HOME")" &>/dev/null || true mkdir -p $WEBTREES_HOME chown -R www-data:www-data $OLD_WEBTREES_HOME chown -R www-data:www-data $WEBTREES_HOME