mirror of
https://github.com/isjerryxiao/pacroller.git
synced 2024-11-15 04:42:24 +08:00
match downgrade and reinstall in package .install
This commit is contained in:
parent
87cf03b56d
commit
bbbae704c0
1 changed files with 4 additions and 0 deletions
|
@ -247,6 +247,10 @@ def _log_parser(log: List[str], report: checkReport) -> None:
|
||||||
pkg, *_ = _m.groups()
|
pkg, *_ = _m.groups()
|
||||||
elif _m := REGEX['l_remove'].match(_pmsg):
|
elif _m := REGEX['l_remove'].match(_pmsg):
|
||||||
pkg, *_ = _m.groups()
|
pkg, *_ = _m.groups()
|
||||||
|
elif _m := REGEX['l_downgrade'].match(_pmsg):
|
||||||
|
pkg, *_ = _m.groups()
|
||||||
|
elif _m := REGEX['l_reinstall'].match(_pmsg):
|
||||||
|
pkg, *_ = _m.groups()
|
||||||
else:
|
else:
|
||||||
report.crit(f'[NOM-SCRIPTLET] {_pmsg}')
|
report.crit(f'[NOM-SCRIPTLET] {_pmsg}')
|
||||||
ln += 1
|
ln += 1
|
||||||
|
|
Loading…
Reference in a new issue