]> git.proxmox.com Git - pve-container.git/commit
setup: relax matching when detecting systemd version
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Nov 2022 16:48:07 +0000 (17:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Nov 2022 16:48:10 +0000 (17:48 +0100)
commit863ebe3687e06f87d0dfa77798c182c1c47b90fa
tree568c8b6485c57b81d3b7680f5153ac2014c5013a
parent2ef053ea3443beea930257d09b98cbab29c3cce5
setup: relax matching when detecting systemd version

As this did not detect the version from Arch Linux, which is, for
example:

> required from libsystemd-shared-251.7-4.so:

Accept dot and minus as separator for the extra/patch/distro level of
the version and allow arbitrary many such tuple parts.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/Base.pm