mirror of
				https://ceregatti.org/git/daniel/dayzdockerserver.git
				synced 2025-10-31 13:33:31 +00:00 
			
		
		
		
	Ensure the WORKSHOP_DIR exists when we run.
This commit is contained in:
		
							parent
							
								
									5d1d2433c9
								
							
						
					
					
						commit
						2d2cf6ba35
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		|  | @ -18,7 +18,10 @@ parameters="-config=${SERVER_CFG_DST} -port=${port} -freezecheck -BEpath=${SERVE | |||
| 
 | ||||
| # Where mods are installed. | ||||
| WORKSHOP_DIR="/mods/${release_client_appid}" | ||||
| mod_command_line="" | ||||
| if [ ! -d ${WORKSHOP_DIR} ] | ||||
| then | ||||
|   mkdir -p ${WORKSHOP_DIR} | ||||
| fi | ||||
| 
 | ||||
| # Backups | ||||
| BACKUP_DIR="${HOME}/backup" | ||||
|  | @ -27,6 +30,8 @@ then | |||
| 	mkdir -p "${BACKUP_DIR}" | ||||
| fi | ||||
| 
 | ||||
| mod_command_line="" | ||||
| 
 | ||||
| # Functions | ||||
| 
 | ||||
| # Usage | ||||
|  | @ -144,7 +149,7 @@ report() { | |||
| mergexml(){ | ||||
|   # First copy the pristine files from upstream | ||||
|   echo "Copying pristine versions of cfgeconomycore.xml and cfgeventspawns.xml..." | ||||
|   find /mpmissions -name cfgeconomycore.xml -exec cp {} ${SERVER_FILES}{} \; | ||||
| ``  find /mpmissions -name cfgeconomycore.xml -exec cp -v {} ${SERVER_FILES}{} \; | ||||
| #  find /mpmissions -name cfgeventspawns.xml -exec cp {} ${SERVER_FILES}{} \; | ||||
| 
 | ||||
|   # Follow https://community.bistudio.com/wiki/DayZ:Central_Economy_mission_files_modding and make a single XML | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Daniel Ceregatti
						Daniel Ceregatti