Fix missing directory error in install
This commit is contained in:
parent
911eddb4ab
commit
3887bc0073
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ def main():
|
||||||
host=host_config
|
host=host_config
|
||||||
)
|
)
|
||||||
output_path = args.home / template_path.relative_to(templates_dir)
|
output_path = args.home / template_path.relative_to(templates_dir)
|
||||||
|
output_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
with open(output_path, 'w+') as output_file:
|
with open(output_path, 'w+') as output_file:
|
||||||
output_file.write(output)
|
output_file.write(output)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue