From: Frank Lichtenheld Date: Fri, 15 Feb 2008 01:04:10 +0000 (+0100) Subject: Packages::DoIndex: No translated allpackages.*.txt.gz available X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=0599eda304163e667f335b8920b0f3b306e6fb83;p=deb%2Fpackages.git Packages::DoIndex: No translated allpackages.*.txt.gz available The reimplementation of create_index_pages dropped the translated allpackages.*.txt.gz, so don't try to serve them. --- diff --git a/lib/Packages/DoIndex.pm b/lib/Packages/DoIndex.pm index 3129b0b..e1c5b6d 100644 --- a/lib/Packages/DoIndex.pm +++ b/lib/Packages/DoIndex.pm @@ -39,6 +39,9 @@ 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};