mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Avoid ssowat config persistent error on /doc
This commit is contained in:
parent
7808953343
commit
2dd1357c50
1 changed files with 2 additions and 2 deletions
|
@ -992,8 +992,8 @@ class App(TestSuite):
|
||||||
def conf_json_persistent_tweaking(self):
|
def conf_json_persistent_tweaking(self):
|
||||||
if (
|
if (
|
||||||
os.system(
|
os.system(
|
||||||
"grep -q -nr '/etc/ssowat/conf.json.persistent' %s/*/* 2>/dev/null"
|
"grep -nr '/etc/ssowat/conf.json.persistent' %s | grep -vq '^%s/doc' 2>/dev/null"
|
||||||
% self.path
|
% (self.path, self.path)
|
||||||
)
|
)
|
||||||
== 0
|
== 0
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in a new issue