mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-12 19:27:11 +01:00
follow symlink
This commit is contained in:
parent
47ca759742
commit
62da6f5f56
@ -16,7 +16,7 @@ if [ ! -f /factorio/config/map-gen-settings.json ]; then
|
|||||||
cp /opt/factorio/data/map-gen-settings.example.json /factorio/config/map-gen-settings.json
|
cp /opt/factorio/data/map-gen-settings.example.json /factorio/config/map-gen-settings.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! find $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/save.zip \
|
--create $SAVES/save.zip \
|
||||||
--map-gen-settings /opt/factorio/data/map-gen-settings.json
|
--map-gen-settings /opt/factorio/data/map-gen-settings.json
|
||||||
|
Loading…
Reference in New Issue
Block a user