parent
50cdf693da
commit
7b2e478ca6
|
@ -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…
Reference in New Issue