From 0599eda304163e667f335b8920b0f3b306e6fb83 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Fri, 15 Feb 2008 02:04:10 +0100 Subject: [PATCH] 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. --- lib/Packages/DoIndex.pm | 3 +++ 1 file changed, 3 insertions(+) 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}; -- 2.39.2