]> git.deb.at Git - deb/packages.git/commitdiff
Revert "[ARCHIVE] Work around bug if only one archive is used"
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 3 Nov 2008 21:28:36 +0000 (22:28 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Mon, 3 Nov 2008 21:28:36 +0000 (22:28 +0100)
This reverts commit 5d677ca23ddd73735630296f9d3e46d276b3c40c.

We now have more than one "archive".

lib/Packages/DoIndex.pm

index ac4cd67437c35583e693f5b94c918d215727ecf1..9eaf34e08135914a52013421881c49fb92d00e12 100644 (file)
@@ -47,7 +47,7 @@ sub send_file {
     my $path = "";
     $path .= "source/" if $opts->{source};
     $path .= "$opts->{suite}[0]/";
-#    $path .= "$opts->{archive}[0]/" if @{$opts->{archive}} == 1;
+    $path .= "$opts->{archive}[0]/" if @{$opts->{archive}} == 1;
     $path .= "$opts->{subsection}[0]/" if @{$opts->{subsection}};
     $path .= "$opts->{priority}[0]/" if @{$opts->{priority}};
     $path .= "$file.$opts->{po_lang}.$opts->{format}";