1
0
mirror of https://github.com/1C-Company/docker_fresh.git synced 2025-07-13 01:20:39 +02:00

add other images

This commit is contained in:
WizaXxX
2020-04-05 18:07:02 +03:00
parent 10664a9f6d
commit ea396bb2da
16 changed files with 447 additions and 28 deletions

View File

@ -36,20 +36,26 @@ def rename_forum_file():
return command
def add_all_commands():
def add_all_before_commands():
commands = []
commands.append(delete_forum_dir())
commands.append(unzip_forum_dir())
commands.append(rename_forum_file())
return commands
def add_all_after_commands():
commands = []
commands.append(delete_forum_dir())
return commands
class New():
name = ''
commands = []
commands_before = []
commands_after = []
def __init__(self):
self.name = 'forum'
self.commands = add_all_commands()
self.commands_before = add_all_before_commands()
self.commands_after = add_all_after_commands()