fix purgin server specific addons
This commit is contained in:
parent
e7cf2b04e2
commit
f4c8e8e1ad
1 changed files with 4 additions and 1 deletions
|
@ -97,7 +97,10 @@ for name, config in node.metadata.get('left4dead2/servers').items():
|
|||
'owner': 'steam',
|
||||
'group': 'steam',
|
||||
}
|
||||
for id in node.metadata.get('left4dead2/workshop'):
|
||||
for id in [
|
||||
*config.get('workshop', []),
|
||||
*node.metadata.get('left4dead2/workshop'),
|
||||
]:
|
||||
files[f'/opt/steam/left4dead2-servers/{name}/left4dead2/addons/{id}.vpk'] = {
|
||||
'content_type': 'any',
|
||||
'owner': 'steam',
|
||||
|
|
Loading…
Reference in a new issue