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