ipfs: Add File API reference

This commit is contained in:
Jochen Sprickerhof 2023-05-31 13:25:30 +02:00
parent 258bc61b8a
commit 90d9e9e045
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ def update_ipfs(repo_section):
logging.debug(_('adding {section} to ipfs').format(section=repo_section))
return subprocess.check_output(
['ipfs', 'add', '-r', '-Q', repo_section], text=True
['ipfs', 'add', '-r', '-Q', '--to-files', f"/{repo_section}", repo_section], text=True
).strip()