Ensure to create save game subtree on remote
This commit is contained in:
		
							parent
							
								
									4742f7f7f4
								
							
						
					
					
						commit
						60c64bc151
					
				|  | @ -91,6 +91,8 @@ move_steam_game_dir() { | |||
| 
 | ||||
| 	## If a remote directory doesn't already exists for this game | ||||
| 	if [ ! -d "${_remote_game_path}" ]; then | ||||
| 		### Ensure to create tree directories on remote storage | ||||
| 		mkdir -p -- "$(dirname "${_remote_game_path}")" | ||||
| 		### Move data to remote storage | ||||
| 		mv -- "${_local_game_path}" "${_remote_game_path}" | ||||
| 		[ "${debug}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Move Steam game − The data of ${_game_id} − ${_local_game_path} moved to remote storage." | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue