From 31aacb3361e482298f472e231b245b6fb2bc1a5d Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 13 Aug 2022 17:38:47 +0200 Subject: [PATCH] diagnosis: add complains if some app installed are still requiring only yunohost 3.x --- src/diagnosers/80-apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagnosers/80-apps.py b/src/diagnosers/80-apps.py index 56e45f831..353620cdc 100644 --- a/src/diagnosers/80-apps.py +++ b/src/diagnosers/80-apps.py @@ -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 = [