Commit 5a9bbfd5 authored by Dietmar Maurer's avatar Dietmar Maurer

APLInfo: set default location

parent 2c0eb9fa
...@@ -110,6 +110,7 @@ sub read_aplinfo_from_fh { ...@@ -110,6 +110,7 @@ sub read_aplinfo_from_fh {
my $arch = $res->{architecture} || 'i386'; my $arch = $res->{architecture} || 'i386';
$template = "$res->{os}-$res->{package}_$res->{version}_$arch.tar.gz"; $template = "$res->{os}-$res->{package}_$res->{version}_$arch.tar.gz";
$template =~ s/$res->{os}-$res->{os}-/$res->{os}-/; $template =~ s/$res->{os}-$res->{os}-/$res->{os}-/;
$res->{location} = "$source/$res->{section}/$template";
} }
$res->{source} = $source; $res->{source} = $source;
$res->{template} = $template; $res->{template} = $template;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment