From 4b17c59f740672d39845bde445b6c13e566ec260 Mon Sep 17 00:00:00 2001 From: AAPohl <82733706+AAPohl@users.noreply.github.com> Date: Wed, 28 Feb 2024 00:33:07 +0100 Subject: [PATCH] copy of default files avoided --- entrypoint.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9841c5e..e3f8a68 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -26,13 +26,6 @@ if [ -f $PATH_SHNG/etc/.not_mounted ]; then for i in $DIRS_CONF; do if [ -f $PATH_CONF/$i/.not_mounted ]; then WARN_MOUNT_CONF="${WARN_MOUNT_CONF# } $i" - elif [ ! -f $PATH_CONF/$i/.files_created ]; then - if [ ! -d $PATH_CONF/$i ]; then - mkdir -p $PATH_CONF/$i - chmod go+rw $PATH_CONF/$i - fi - cp -vnr $PATH_SHNG/$i/* $PATH_CONF - touch $PATH_CONF/$i/.files_created fi done