From 5b455de1bd6dc11be9e5558b792491592536f2d5 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 10 May 2021 19:39:11 +0200 Subject: [PATCH] Report using --others_var as deprecated (as info) --- package_linter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package_linter.py b/package_linter.py index 5ff8c19..f1249a4 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1428,6 +1428,9 @@ class Script(TestSuite): "apps.. Also beware that option -f is obsolete as well... " "Use grep -q 'id: $appname' to check a specific app is installed" ) + if self.contains("--others_var"): + yield Info("Option --others_var is deprecated / irrelevant since 4.2, Yunohost now manages conf using ynh_add_config which automatically replace all __FOOBAR__ by $foobar") + @test() def set_is_public_setting(self):