diff --git a/scripts/playbooks.py b/scripts/playbooks.py index 64423881..8bc3c4e3 100755 --- a/scripts/playbooks.py +++ b/scripts/playbooks.py @@ -84,7 +84,10 @@ def custom_key(node): services = dag_services_order meta_dir = Path(output_dir, "meta") - meta_dir.mkdir() + if not meta_dir.is_dir(): + meta_dir.mkdir() + else: + print("Folder meta already exists, will add extra services/collections if any") def write_copyright_licence_headers(fd): fd.write("# Copyright 2022 TOSIT.IO\n")