mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Don't lint systemd override files
This commit is contained in:
parent
14a199a944
commit
657c33e575
1 changed files with 5 additions and 0 deletions
|
@ -624,6 +624,11 @@ class Configurations(TestSuite):
|
|||
if not filename.endswith(".service"):
|
||||
continue
|
||||
|
||||
# Some apps only provide an override conf file, which is different
|
||||
# from the full/base service config (c.f. ffsync)
|
||||
if "override" in filename:
|
||||
continue
|
||||
|
||||
try:
|
||||
content = open(app.path + "/conf/" + filename).read()
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue