mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-09-13 08:03:28 +00:00
Add support for the mpmissions files being in a github subdirectory.
This commit is contained in:
parent
dd1be5e89f
commit
247612f32d
2 changed files with 6 additions and 1 deletions
|
@ -34,5 +34,9 @@ then
|
|||
fi
|
||||
rm -rf ${SERVER_FILES}/mpmissions/${MPDIR:?}
|
||||
pushd "${DIR}" > /dev/null
|
||||
find . -name "${MPDIR}" -exec cp -a {} "${SERVER_FILES}/mpmissions" \;
|
||||
if [[ ${SUBDIR} = "" ]]
|
||||
then
|
||||
SUBDIR="."
|
||||
fi
|
||||
find ${SUBDIR} -name "${MPDIR}" -exec cp -a {} "${SERVER_FILES}/mpmissions" \;
|
||||
fi
|
||||
|
|
|
@ -4,5 +4,6 @@ set -eE
|
|||
|
||||
MAP="DeerIsle"
|
||||
DIR="Deerisle-Stable"
|
||||
SUBDIR="V5.9"
|
||||
REPO="https://github.com/johnmclane666/${DIR}.git"
|
||||
MPDIR="empty.deerisle"
|
||||
|
|
Loading…
Add table
Reference in a new issue