mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-16 06:24:00 +02:00
Update docker-entrypoint.sh
does not work recursively
This commit is contained in:
parent
50cdf693da
commit
7b2e478ca6
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ if [[ ! -f $bbspath/config/$configname ]]; then
|
||||||
for dir in "${prepopvols[@]}"
|
for dir in "${prepopvols[@]}"
|
||||||
do
|
do
|
||||||
if [ -n "$(find "$bbspath/$dir" -maxdepth 0 -type d -empty 2>/dev/null)" ]; then
|
if [ -n "$(find "$bbspath/$dir" -maxdepth 0 -type d -empty 2>/dev/null)" ]; then
|
||||||
cp -rpn $bbsstgp/$dir/* $bbspath/$dir/
|
cp -rp $bbsstgp/$dir/* $bbspath/$dir/
|
||||||
else
|
else
|
||||||
echo "WARN skipped $bbspath/$dir - vol Not empty/not a new setup - possible bad state"
|
echo "WARN skipped $bbspath/$dir - vol Not empty/not a new setup - possible bad state"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue