mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
upgrades: ignore boring insserv warnings during apt commands
This commit is contained in:
parent
75e96a42ff
commit
87f0eff955
1 changed files with 2 additions and 0 deletions
|
@ -698,6 +698,8 @@ def _apt_log_line_is_relevant(line):
|
||||||
"==> Keeping old config file as default.",
|
"==> Keeping old config file as default.",
|
||||||
"is a disabled or a static unit",
|
"is a disabled or a static unit",
|
||||||
" update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults",
|
" update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults",
|
||||||
|
"insserv: warning: current stop runlevel",
|
||||||
|
"insserv: warning: current start runlevel",
|
||||||
]
|
]
|
||||||
return line.rstrip() and all(i not in line.rstrip() for i in irrelevants)
|
return line.rstrip() and all(i not in line.rstrip() for i in irrelevants)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue