mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 21:21:24 +00:00
api apt: fix spelling in hash to avoid undef access warnings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
929d8722c2
commit
a689d3c04c
@ -109,7 +109,7 @@ my $get_changelog_url =sub {
|
||||
|
||||
for my $file ($data->{files}->@*) {
|
||||
for my $repo (grep { $_->{Enabled} } $file->{repositories}->@*) {
|
||||
next if !grep(/$pkgfile->{component}/, $repo->{Components}->@*);
|
||||
next if !grep(/$pkgfile->{Component}/, $repo->{Components}->@*);
|
||||
next if !$repo->{URIs}[0] =~ m/$pkgfile->{Site}/;
|
||||
|
||||
return $repo->{URIs}[0] . "/$base/${pkgname}_${pkgver}.changelog";
|
||||
|
Loading…
Reference in New Issue
Block a user