#/bin/sh set -e if [ ! -f "/data/maps/done" ]; then mkdir -p /data/maps cd /data/raw_maps /data/TrinityCore.install/bin/mapextractor -o /data/maps/ cd /data/maps /data/TrinityCore.install/bin/vmap4extractor -d /data/raw_maps/Data/ mkdir -p vmaps /data/TrinityCore.install/bin/vmap4assembler Buildings vmaps /data/TrinityCore.install/bin/mmaps_generator cd /data/TrinityCore.install/bin fi touch /data/maps/done ./worldserver