mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-30 04:40:53 +00:00
Extend shard data script to gather executables and configurations
This commit is contained in:
parent
3267b89362
commit
497232b470
1 changed files with 10 additions and 0 deletions
|
@ -69,6 +69,16 @@ for multiDir in InstallShardDataPrimitivesDirectories:
|
||||||
mkPath(log, PrimitivesDirectory + "/" + srcDir)
|
mkPath(log, PrimitivesDirectory + "/" + srcDir)
|
||||||
mkPath(log, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
mkPath(log, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
||||||
copyFilesNoTreeIfNeeded(log, PrimitivesDirectory + "/" + srcDir, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
copyFilesNoTreeIfNeeded(log, PrimitivesDirectory + "/" + srcDir, ShardInstallDirectory + "/" + dstDir + "/" + srcDir)
|
||||||
|
for execDir in InstallShardDataExecutables:
|
||||||
|
dstDir = execDir[0]
|
||||||
|
mkPath(log, LinuxServiceExecutableDirectory)
|
||||||
|
mkPath(log, PatchmanCfgDefaultDirectory)
|
||||||
|
mkPath(log, InstallDirectory)
|
||||||
|
mkPath(log, ShardInstallDirectory + "/" + dstDir)
|
||||||
|
printLog(log, "SHARD DIRECTORY " + dstDir)
|
||||||
|
copyFileIfNeeded(log, LinuxServiceExecutableDirectory + "/" + execDir[1][1], ShardInstallDirectory + "/" + dstDir + "/" + execDir[1][0])
|
||||||
|
copyFileListNoTree(log, PatchmanCfgDefaultDirectory, ShardInstallDirectory + "/" + dstDir, execDir[2])
|
||||||
|
copyFileListNoTree(log, InstallDirectory, ShardInstallDirectory + "/" + dstDir, execDir[3])
|
||||||
printLog(log, "")
|
printLog(log, "")
|
||||||
|
|
||||||
log.close()
|
log.close()
|
||||||
|
|
Loading…
Reference in a new issue