mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
add some comments
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
34b191582a
commit
8d9605161c
2 changed files with 2 additions and 0 deletions
|
@ -1028,6 +1028,7 @@ def app_install(
|
||||||
)
|
)
|
||||||
|
|
||||||
# Override manifest name by given label
|
# Override manifest name by given label
|
||||||
|
# This info is also later picked-up by the 'permission' resource initialization
|
||||||
if label:
|
if label:
|
||||||
manifest["name"] = label
|
manifest["name"] = label
|
||||||
|
|
||||||
|
|
|
@ -272,6 +272,7 @@ def _load_apps_catalog():
|
||||||
merged_catalog["apps"][app] = info
|
merged_catalog["apps"][app] = info
|
||||||
|
|
||||||
# Annnnd categories + antifeatures
|
# Annnnd categories + antifeatures
|
||||||
|
# (we use .get here, only because the dev catalog doesnt include the categories/antifeatures keys)
|
||||||
merged_catalog["categories"] += apps_catalog_content.get("categories", [])
|
merged_catalog["categories"] += apps_catalog_content.get("categories", [])
|
||||||
merged_catalog["antifeatures"] += apps_catalog_content.get("antifeatures", [])
|
merged_catalog["antifeatures"] += apps_catalog_content.get("antifeatures", [])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue