adds escapes
This commit is contained in:
parent
86dfc0163c
commit
123332e547
@ -18,11 +18,11 @@ id
|
||||
[ ! -f "/data/config/map-gen-settings.json" ] && cp /opt/factorio/data/map-gen-settings.example.json /data/config/map-gen-settings.json
|
||||
[ ! -f "/data/config/map-settings.json" ] && cp /opt/factorio/data/map-settings.example.json /data/config/map-settings.json
|
||||
|
||||
if find -L /data/saves -iname \\\\*.tmp.zip -mindepth 1 -print | grep -q .; then
|
||||
if find -L /data/saves -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then
|
||||
rm -f /data/saves/*.tmp.zip
|
||||
fi
|
||||
|
||||
if ! find -L /data/saves -iname \*.zip -mindepth 1 -print | grep -q .; then
|
||||
if ! find -L /data/saves -iname \\*.zip -mindepth 1 -print | grep -q .; then
|
||||
/opt/factorio/bin/x64/factorio \\
|
||||
--create /data/saves/_autosave1.zip \\
|
||||
--map-gen-settings /data/config/map-gen-settings.json \\
|
||||
|
Reference in New Issue
Block a user