mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00
Fix bug where upstream files were not being copied to the correct location upon server start.
This commit is contained in:
parent
9fb3504bac
commit
8cf493e8d5
1 changed files with 2 additions and 2 deletions
|
@ -143,11 +143,11 @@ mergexml(){
|
||||||
do
|
do
|
||||||
if [ -f /mpmissions/${MAP}/${i} ]
|
if [ -f /mpmissions/${MAP}/${i} ]
|
||||||
then
|
then
|
||||||
cp -v /mpmissions/${MAP}/${i} ${SERVER_FILES}/${i}
|
cp -v /mpmissions/${MAP}/${i} ${MPMISSIONS}/${MAP}/${i}
|
||||||
else
|
else
|
||||||
# Copy it from the Chernarus map
|
# Copy it from the Chernarus map
|
||||||
echo "The map ${MAP} does not have a ${i} file, copying from Chernarus..."
|
echo "The map ${MAP} does not have a ${i} file, copying from Chernarus..."
|
||||||
cp -v /mpmissions/dayzOffline.chernarusplus/${i} ${SERVER_FILES}/${i}
|
cp -v /mpmissions/dayzOffline.chernarusplus/${i} ${MPMISSIONS}/${MAP}/${i}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue