mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
pacman: Fix package matching pattern in upgraded package list (#23433)
(cherry picked from commit 9a850db605a2db3c4f7f1cbc5bf88a8852ea17c4)
This commit is contained in:
committed by
Rene Moser
parent
eec01e2137
commit
971187e54c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user