mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1333 from YunoHost/fix-app-diagnosis
[Fix] App diagnosis grep
This commit is contained in:
commit
9ef3d3299d
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class AppDiagnoser(Diagnoser):
|
||||||
for deprecated_helper in deprecated_helpers:
|
for deprecated_helper in deprecated_helpers:
|
||||||
if (
|
if (
|
||||||
os.system(
|
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
|
== 0
|
||||||
):
|
):
|
||||||
|
|
Loading…
Add table
Reference in a new issue