mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-03-27 09:35:31 +01:00
fixed check for saves
This commit is contained in:
parent
16602ba40b
commit
08090e70a0
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
SAVES=/opt/factorio/saves
|
SAVES=/opt/factorio/saves
|
||||||
|
|
||||||
if [ ! -f $SAVES/*.zip ]
|
if ! find $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
|
||||||
then
|
#if [ -z $(find $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…
x
Reference in New Issue
Block a user