Merge pull request #136 from YunoHost/fix_conf_perisistent

Avoid ssowat config persistent error on /doc
This commit is contained in:
Alexandre Aubin 2024-04-10 23:51:03 +02:00 committed by GitHub
commit 8a22ded3f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1066,8 +1066,8 @@ class App(TestSuite):
def conf_json_persistent_tweaking(self):
if (
os.system(
"grep -q -nr '/etc/ssowat/conf.json.persistent' %s/*/* 2>/dev/null"
% self.path
"grep -nr '/etc/ssowat/conf.json.persistent' %s | grep -vq '^%s/doc' 2>/dev/null"
% (self.path, self.path)
)
== 0
):