From c736d0c5e2bda819d02049de1fcdf07047c305b1 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 3 Jun 2007 10:24:20 +0200 Subject: [PATCH] lib/Packages/DoShow.pm: Fix source package retrieval Some binary packages are build from official Debian sources but have no version in the Debian archive (e.g. libc0.1). Fix searching the source package for those. Rather hackish solution, needs cleanup. --- lib/Packages/DoShow.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index e141588..bd0dc21 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -111,6 +111,8 @@ sub do_show { debug( "find source package: source=$source", 1) if DEBUG; my $src_data = $sources_all{"$archive $suite $source"}; + #FIXME: should be $main_archive or similar, not hardcoded "us" + $src_data = $sources_all{"us $suite $source"} unless $src_data; $page->add_src_data( $source, $src_data ) if $src_data; -- 2.39.2