]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG/API2/APT.pm - fix changelog urls
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 21 Dec 2017 07:30:17 +0000 (08:30 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 21 Dec 2017 07:30:17 +0000 (08:30 +0100)
PMG/API2/APT.pm

index 4e97bbcad9945e569b569b40d32a027de582c89a..7c894a440c6bf715ce746ac51d923ecbf20c78cf 100644 (file)
@@ -95,11 +95,11 @@ my $get_changelog_url =sub {
            $changelog_url = "http://packages.debian.org/changelogs/$base/" .
                "${srcpkg}_${pkgver}/changelog";
        } elsif ($origin eq 'Proxmox') {
-           if ($component eq 'pve-enterprise') {
-               $changelog_url = "https://enterprise.proxmox.com/debian/$base/" .
+           if ($component eq 'pmg-enterprise') {
+               $changelog_url = "https://enterprise.proxmox.com/debian/pmg/$base/" .
                    "${pkgname}_${pkgver}.changelog";
            } else {
-               $changelog_url = "http://download.proxmox.com/debian/$base/" .
+               $changelog_url = "http://download.proxmox.com/debian/pmg/$base/" .
                    "${pkgname}_${pkgver}.changelog";
            }
        }