mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Deprecate yunohost service regen-conf
This commit is contained in:
parent
54e5541a78
commit
25f9b06517
1 changed files with 3 additions and 0 deletions
|
@ -576,6 +576,9 @@ class Script():
|
||||||
if self.contains("exit"):
|
if self.contains("exit"):
|
||||||
print_warning("'exit' command shouldn't be used. Please use 'ynh_die' instead.")
|
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
|
# 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)
|
# (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)
|
oldlines = list(self.lines)
|
||||||
|
|
Loading…
Reference in a new issue