diff options
Diffstat (limited to 'backend/resilient/__init__.py')
-rw-r--r-- | backend/resilient/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/resilient/__init__.py b/backend/resilient/__init__.py index 818a6f5..fca9441 100644 --- a/backend/resilient/__init__.py +++ b/backend/resilient/__init__.py @@ -11,6 +11,7 @@ __all__ = ["freenet"] backend_path = os.path.normpath(os.path.join(os.path.dirname(__file__), '..')) auth_path = os.path.join(backend_path, 'auth') +dep_path = os.path.join(backend_path, 'dep') html_path = os.path.normpath(os.path.join(backend_path, '../html')) wiki_src_path = os.path.normpath(os.path.join(backend_path, '../wiki')) ikiwiki_setup_path = os.path.join(backend_path, 'ikiwiki.setup') @@ -35,6 +36,9 @@ class git: if not found: print("ERROR: git not found") exit(1) + else: + os.system("git submodule init") + os.system("git submodule update") def __init__(self, remote, push_remote = ""): self.remote = remote |