diff --git a/package_linter.py b/package_linter.py index ab902c7..6e0f1fd 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1998,6 +1998,11 @@ class Script(TestSuite): "Please consider using 'ynh_add_config' to handle config files instead of gazillions of manual cp + 'ynh_replace_string' + chmod" ) + @test() + def ynh_add_fpm_config_deprecated_package_option(self): + if self.containsregex(r'ynh_add_fpm_config .*package=.*'): + yield Info("Since Yunohost 4.3, option --package for ynh_add_fpm_config is deprecated : please use 'ynh_install_app_dependencies' with **all** your apt dependencies instead (no need to define a special 'extra_php_dependencies'). YunoHost will automatically install any phpX.Y-fpm / phpX.Y-common if needed.") + @test() def set_is_public_setting(self): if self.containsregex(r"ynh_app_setting_set .*is_public.*"):