Skip to content

Commit

Permalink
copy of default files avoided
Browse files Browse the repository at this point in the history
  • Loading branch information
AAPohl authored Feb 27, 2024
1 parent 1257dea commit 4b17c59
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4b17c59

Please sign in to comment.