mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Add name and description in info.json of backup
This commit is contained in:
parent
39be6b0f9f
commit
c3bb11a4c6
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ def backup_create(name=None, description=None, output_directory=None,
|
||||||
i = app_info(app_id)
|
i = app_info(app_id)
|
||||||
info['apps'][app_id] = {
|
info['apps'][app_id] = {
|
||||||
'version': i['version'],
|
'version': i['version'],
|
||||||
|
'name': i['name'],
|
||||||
|
'description': i['description'],
|
||||||
}
|
}
|
||||||
finally:
|
finally:
|
||||||
filesystem.rm(tmp_script, force=True)
|
filesystem.rm(tmp_script, force=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue