From 25f9b0651702b8eca19da2785929477b0fc3a7c0 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 31 Mar 2020 18:44:50 +0200 Subject: [PATCH] Deprecate yunohost service regen-conf --- package_linter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package_linter.py b/package_linter.py index ae3eef4..a543860 100755 --- a/package_linter.py +++ b/package_linter.py @@ -576,6 +576,9 @@ class Script(): if self.contains("exit"): print_warning("'exit' command shouldn't be used. Please use 'ynh_die' instead.") + if self.contains("yunohost service regen-conf"): + print_warning("'yunohost tools regen-conf' has been replaced by 'yunohost tools regen-conf'.") + # Dirty hack to check only the 10 last lines for ssowatconf # (the "bad" practice being using this at the very end of the script, but some apps legitimately need this in the middle of the script) oldlines = list(self.lines)