Only copy if needed
This commit is contained in:
parent
870444293f
commit
c6e291c470
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