Compare commits
2 Commits
bcaef38276
...
633d68c517
Author | SHA1 | Date |
---|---|---|
DeathByDenim | 633d68c517 | |
DeathByDenim | 639d4485b6 |
|
@ -21,6 +21,8 @@ if [ -e /etc/systemd/system/bzflag.service ]; then
|
||||||
systemctl stop bzflag
|
systemctl stop bzflag
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
apt-get -y install build-essential pkg-config
|
||||||
|
|
||||||
# Install BZFlag
|
# Install BZFlag
|
||||||
mkdir -p ${TMPDIR:-/tmp}/bzflag-build
|
mkdir -p ${TMPDIR:-/tmp}/bzflag-build
|
||||||
cd ${TMPDIR:-/tmp}/bzflag-build
|
cd ${TMPDIR:-/tmp}/bzflag-build
|
||||||
|
|
|
@ -54,8 +54,9 @@ fi
|
||||||
|
|
||||||
unzip -o -d "${teeworldsddrace_directory}"/data/maps ${TMPDIR:-/tmp}/novice.zip
|
unzip -o -d "${teeworldsddrace_directory}"/data/maps ${TMPDIR:-/tmp}/novice.zip
|
||||||
for f in "${teeworldsddrace_directory}"/data/maps/novice/maps/*.map; do
|
for f in "${teeworldsddrace_directory}"/data/maps/novice/maps/*.map; do
|
||||||
"${teeworldsddrace_directory}"/map_convert_07 "$f" "`echo "$f" | sed s/"maps\/novice\/maps"/"maps7"/g`"
|
if "${teeworldsddrace_directory}"/map_convert_07 "$f" "`echo "$f" | sed s/"maps\/novice\/maps"/"maps7"/g`"; then
|
||||||
cp "$f" "${teeworldsddrace_directory}"/data/maps
|
cp "$f" "${teeworldsddrace_directory}"/data/maps
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
rm -rf "${teeworldsddrace_directory}"/data/maps/novice
|
rm -rf "${teeworldsddrace_directory}"/data/maps/novice
|
||||||
|
|
||||||
|
|
Reference in New Issue