From: doogie <>
Date: Thu, 22 Nov 2001 09:46:44 +0000 (-0800)
Subject: [project @ 2001-11-22 01:46:44 by doogie]
X-Git-Tag: release/2.6.0~1081
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=96502873926ea12eba67ecb2f86c89f74fe31a4b;p=debbugs.git
[project @ 2001-11-22 01:46:44 by doogie]
If the source package name is different than the package name, include it
in the list of other bug pages to visit.
---
diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi
index 51a4a28e..507f4809 100755
--- a/cgi/pkgreport.cgi
+++ b/cgi/pkgreport.cgi
@@ -157,6 +157,7 @@ if (defined $pkg || defined $src) {
} else {
print "You may want to refer to the following individual bug pages:
\n";
}
+ push @pkgs, $src if ( $src && !grep(/^\Q$src\E$/, @pkgs) );
print join( ", ", map( "$_", @pkgs ) );
print ".\n";
}