mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Trick to add all the apps/ folder such that they are correctly attributed to the corresponding app when we compute the size_details later
This commit is contained in:
parent
93166741ee
commit
e5b4d2aa73
1 changed files with 2 additions and 2 deletions
|
@ -538,8 +538,8 @@ class BackupManager:
|
|||
# Add unlisted files from backup tmp dir
|
||||
self._add_to_list_to_backup("backup.csv")
|
||||
self._add_to_list_to_backup("info.json")
|
||||
if len(self.apps_return) > 0:
|
||||
self._add_to_list_to_backup("apps")
|
||||
for app in self.apps_return.keys():
|
||||
self._add_to_list_to_backup(f"apps/{app}")
|
||||
if os.path.isdir(os.path.join(self.work_dir, "conf")):
|
||||
self._add_to_list_to_backup("conf")
|
||||
if os.path.isdir(os.path.join(self.work_dir, "data")):
|
||||
|
|
Loading…
Add table
Reference in a new issue