From: Frank Lichtenheld Date: Mon, 3 Nov 2008 21:28:36 +0000 (+0100) Subject: Revert "[ARCHIVE] Work around bug if only one archive is used" X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=c2bd49b82b5893a973911d59e6c231aefa569610;p=deb%2Fpackages.git Revert "[ARCHIVE] Work around bug if only one archive is used" This reverts commit 5d677ca23ddd73735630296f9d3e46d276b3c40c. We now have more than one "archive". --- diff --git a/lib/Packages/DoIndex.pm b/lib/Packages/DoIndex.pm index ac4cd67..9eaf34e 100644 --- a/lib/Packages/DoIndex.pm +++ b/lib/Packages/DoIndex.pm @@ -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}";