mirror of
https://github.com/bplein/factorio-docker.git
synced 2024-11-24 08:42:31 +02: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
|
||||
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 \
|
||||
--create $SAVES/save.zip \
|
||||
--map-gen-settings /opt/factorio/data/map-gen-settings.json
|
||||
|
Loading…
Reference in New Issue
Block a user