mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Merge pull request #129 from oleole39/patch-1
Fix regex in helpers_sourcing_after_official()
This commit is contained in:
commit
856d7a957c
1 changed files with 1 additions and 1 deletions
|
@ -2797,7 +2797,7 @@ class Script(TestSuite):
|
||||||
@test()
|
@test()
|
||||||
def helpers_sourcing_after_official(self):
|
def helpers_sourcing_after_official(self):
|
||||||
helpers_after_official = subprocess.check_output(
|
helpers_after_official = subprocess.check_output(
|
||||||
"head -n 30 '%s' | grep -A 10 '^ *source */usr/share/yunohost/helpers' | grep '^ *source' | tail -n +2"
|
"head -n 30 '%s' | grep -A 10 '^ *source */usr/share/yunohost/helpers' | grep '^ *source ' | tail -n +2"
|
||||||
% self.path,
|
% self.path,
|
||||||
shell=True,
|
shell=True,
|
||||||
).decode("utf-8")
|
).decode("utf-8")
|
||||||
|
|
Loading…
Reference in a new issue