From 41d294072697bb6b9d25ee3d4aa9704dc65535ea Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Fri, 3 Mar 2006 22:13:12 +0000 Subject: [PATCH] There are no Contents files for udebs. But there are Contents files for volatile --- cron.d/100syncarchive_volatile | 4 ++++ lib/Packages/DoShow.pm | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cron.d/100syncarchive_volatile b/cron.d/100syncarchive_volatile index 44bb5c9..b983e64 100755 --- a/cron.d/100syncarchive_volatile +++ b/cron.d/100syncarchive_volatile @@ -19,6 +19,10 @@ do (cd volatile/${dist}-volatile/${part}/binary-${arch} && wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/binary-${arch}/Packages.gz) done + echo retrieve Contents $dist-volatile/$arch + (cd volatile/${dist}-volatile && + wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/Contents-${arch}.gz) + done for part in ${parts} do diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index d42c9a0..3a5e4f3 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -239,7 +239,8 @@ sub do_show { $package_page .= sprintf(_g('%d kB'), $sizes_inst->{$a}); $package_page .= "\n"; - if ( $suite ne "experimental" ) { + if ( ($suite ne "experimental") + && ($subsection ne 'debian-installer')) { $package_page .= sprintf( "["._g( "list of files" )."]\n", make_url("$encodedpkg/$a/filelist",''), $pkg ); } else { -- 2.39.2