mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[Fix] App diagnosis grep
This commit is contained in:
parent
f4793a6f0a
commit
636fc1cf6d
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class AppDiagnoser(Diagnoser):
|
|||
for deprecated_helper in deprecated_helpers:
|
||||
if (
|
||||
os.system(
|
||||
f"grep -nr -q '{deprecated_helper}' {app['setting_path']}/scripts/"
|
||||
f"grep -hr '{deprecated_helper}' {app['setting_path']}/scripts/ | grep -v -q '^\s*#'"
|
||||
)
|
||||
== 0
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue