From bbbae704c0247fb35a4aff409a34e8cdd0fb144b Mon Sep 17 00:00:00 2001 From: Jerry Date: Fri, 29 Oct 2021 08:27:57 +0800 Subject: [PATCH] match downgrade and reinstall in package .install --- src/pacroller/checker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pacroller/checker.py b/src/pacroller/checker.py index 94e255a..e4d05bf 100644 --- a/src/pacroller/checker.py +++ b/src/pacroller/checker.py @@ -247,6 +247,10 @@ def _log_parser(log: List[str], report: checkReport) -> None: pkg, *_ = _m.groups() elif _m := REGEX['l_remove'].match(_pmsg): pkg, *_ = _m.groups() + elif _m := REGEX['l_downgrade'].match(_pmsg): + pkg, *_ = _m.groups() + elif _m := REGEX['l_reinstall'].match(_pmsg): + pkg, *_ = _m.groups() else: report.crit(f'[NOM-SCRIPTLET] {_pmsg}') ln += 1