mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Report black magic with conf.json.persistent
This commit is contained in:
parent
6d04f17c8e
commit
8ba4a25b8b
1 changed files with 7 additions and 0 deletions
|
@ -556,6 +556,13 @@ class App(TestSuite):
|
||||||
yield Warning("This app still has references to php5 (from the jessie era !!) which tends to indicate that it's not up to date with recent packaging practices.")
|
yield Warning("This app still has references to php5 (from the jessie era !!) which tends to indicate that it's not up to date with recent packaging practices.")
|
||||||
|
|
||||||
|
|
||||||
|
@test()
|
||||||
|
def conf_json_persistent_tweaking(self):
|
||||||
|
if os.system("grep -q -nr '/etc/ssowat/conf.json.persistent' %s/*/* 2>/dev/null" % self.path) == 0:
|
||||||
|
yield Error("Don't do black magic with /etc/ssowat/conf.json.persistent !")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Configurations(TestSuite):
|
class Configurations(TestSuite):
|
||||||
|
|
||||||
def __init__(self, app):
|
def __init__(self, app):
|
||||||
|
|
Loading…
Reference in a new issue