]> git.proxmox.com Git - dab.git/commit
read installed: do not be greedy when matching package status value
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Oct 2021 15:20:42 +0000 (17:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Oct 2021 15:23:05 +0000 (17:23 +0200)
commit916b0699992dce8417497ada07232c30d79ec44a
tree76c3bb32de82b0203051c8c13ae2141ea84e87dd
parent7b3b1a351495e367092598426ae068c4fc8fe7d0
read installed: do not be greedy when matching package status value

Else a trailing whitespace is slurped into the $2 value, and that can
trip up users of this data, e.g., getpkgfile

Reported in the community forum:
https://forum.proxmox.com/threads/dab-internal-error-at-usr-share-perl5-pve-dab-pm-line-1327.97258/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
DAB.pm