From ac1abbb8852b7c5a699d7e088c1699d8ebf0d4e1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Aug 2025 14:57:27 +0200 Subject: [PATCH] Use cp instead of mv https://github.com/alexbelgium/hassio-addons/issues/2014 --- webtrees/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtrees/rootfs/etc/cont-init.d/99-run.sh b/webtrees/rootfs/etc/cont-init.d/99-run.sh index 994594518..27b8062cf 100755 --- a/webtrees/rootfs/etc/cont-init.d/99-run.sh +++ b/webtrees/rootfs/etc/cont-init.d/99-run.sh @@ -64,7 +64,7 @@ chmod -R 755 "/config" # Remove /data/data if [[ -d "$DATA_LOCATION"/data ]] && [[ "$(ls -A "$DATA_LOCATION"/data/*)" ]]; then - mv "$DATA_LOCATION"/data/* "$DATA_LOCATION"/ + cp -rf "$DATA_LOCATION"/data/* "$DATA_LOCATION"/ rm -r "$DATA_LOCATION"/data fi