diagnosis: add complains if some app installed are still requiring only yunohost 3.x

This commit is contained in:
Alexandre Aubin 2022-08-13 17:38:47 +02:00
parent 771922da76
commit 31aacb3361

View file

@ -64,7 +64,7 @@ class MyDiagnoser(Diagnoser):
yunohost_version_req = (
app["manifest"].get("requirements", {}).get("yunohost", "").strip(">= ")
)
if yunohost_version_req.startswith("2."):
if yunohost_version_req.startswith("2.") or yunohost_version_req.startswith("3."):
yield ("error", "diagnosis_apps_outdated_ynh_requirement")
deprecated_helpers = [