pacman: Fix package matching pattern in upgraded package list (#23433)
(cherry picked from commit 9a850db605
)
This commit is contained in:
parent
eec01e2137
commit
971187e54c
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ def upgrade(module, pacman_path):
|
|||
}
|
||||
|
||||
if rc == 0:
|
||||
regex = re.compile('(\w+) ((?:\S+)-(?:\S+)) -> ((?:\S+)-(?:\S+))')
|
||||
regex = re.compile('([\w-]+) ((?:\S+)-(?:\S+)) -> ((?:\S+)-(?:\S+))')
|
||||
b = []
|
||||
a = []
|
||||
for p in data:
|
||||
|
|
Loading…
Reference in a new issue