]> git.proxmox.com Git - pve-manager.git/commitdiff
aplinfo: changed directory for lxc images
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 1 Jul 2015 11:47:56 +0000 (13:47 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 1 Jul 2015 11:47:56 +0000 (13:47 +0200)
PVE/APLInfo.pm

index 5f0737b3e938becfd77723bb29486c0107a51412..ada8cf7be4bdfa6cdec9cd2659ae7ee68eae3c95 100644 (file)
@@ -62,7 +62,7 @@ sub read_aplinfo_from_fh {
 
            if ($rec =~ s/^Description:\s*([^\n]*)(\n\s+.*)*$//si) {
                $res->{headline} = $1;
-               my $long = $2;
+               my $long = $2 || '';
                $long =~ s/\n\s+/ /g;
                $long =~ s/^\s+//g;
                $long =~ s/\s+$//g;
@@ -240,7 +240,7 @@ sub download_aplinfo {
 sub get_apl_sources {
  
     my $urls = [];
-    push @$urls, "http://download.proxmox.com/appliances";
+    push @$urls, "http://download.proxmox.com/images";
     push @$urls, "http://releases.turnkeylinux.org/pve";
 
     return $urls;