mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-28 01:36:36 +00:00
Only copy if needed
This commit is contained in:
parent
317089b76b
commit
10b5029f26
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ for execDir in InstallShardDataExecutables:
|
||||||
mkPath(log, ShardInstallDirectory + "/" + dstDir)
|
mkPath(log, ShardInstallDirectory + "/" + dstDir)
|
||||||
printLog(log, "SHARD DIRECTORY " + dstDir)
|
printLog(log, "SHARD DIRECTORY " + dstDir)
|
||||||
copyFileIfNeeded(log, LinuxServiceExecutableDirectory + "/" + execDir[1][1], ShardInstallDirectory + "/" + dstDir + "/" + execDir[1][0])
|
copyFileIfNeeded(log, LinuxServiceExecutableDirectory + "/" + execDir[1][1], ShardInstallDirectory + "/" + dstDir + "/" + execDir[1][0])
|
||||||
copyFileListNoTree(log, PatchmanCfgDefaultDirectory, ShardInstallDirectory + "/" + dstDir, execDir[2])
|
copyFileListNoTreeIfNeeded(log, PatchmanCfgDefaultDirectory, ShardInstallDirectory + "/" + dstDir, execDir[2])
|
||||||
copyFileListNoTree(log, InstallDirectory, ShardInstallDirectory + "/" + dstDir, execDir[3])
|
copyFileListNoTreeIfNeeded(log, InstallDirectory, ShardInstallDirectory + "/" + dstDir, execDir[3])
|
||||||
printLog(log, "")
|
printLog(log, "")
|
||||||
|
|
||||||
log.close()
|
log.close()
|
||||||
|
|
Loading…
Reference in a new issue