mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 00:48:07 +01:00 
			
		
		
		
	fixed check for saves
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user