Update docker-entrypoint.sh

This commit is contained in:
gnomus 2017-04-26 21:37:54 +02:00 committed by GitHub
parent 81c9d50e7a
commit 75e98e0543

View File

@ -21,10 +21,6 @@ if [ ! -f $CONFIG/map-gen-settings.json ]; then
cp /opt/factorio/data/map-gen-settings.example.json $CONFIG/map-gen-settings.json cp /opt/factorio/data/map-gen-settings.example.json $CONFIG/map-gen-settings.json
fi fi
if [ ! -f $CONFIG/server-whitelist.json ]; then
cp /opt/factorio/data/server-whitelist.example.json $CONFIG/server-whitelist.json
fi
if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
/opt/factorio/bin/x64/factorio \ /opt/factorio/bin/x64/factorio \
--create $SAVES/_autosave1.zip \ --create $SAVES/_autosave1.zip \