]> git.deb.at Git - deb/packages.git/blobdiff - lib/Packages/DoIndex.pm
Merge branch 'master' into archive-master
[deb/packages.git] / lib / Packages / DoIndex.pm
index 3129b0b9c7fb950cc000cf0803485e6a65951af8..32b5f7c9d8ef6c5b47f2acf77aac105813ad5eee 100644 (file)
@@ -39,11 +39,14 @@ sub send_file {
                              "@{$opts->{suite}}" ) );
     }
 
+    if ($opts->{format} eq 'txt.gz') {
+       $opts->{po_lang} = 'en';
+    }
     my $wwwdir = "$TOPDIR/www";
     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}";