From 896e6a31bd1fab7bdc6c25533e818d005c9c7424 Mon Sep 17 00:00:00 2001
From: doogie <>
Date: Thu, 22 Nov 2001 01:02:35 -0800
Subject: [PATCH] [project @ 2001-11-22 01:02:35 by doogie] Fix textual
formatting.
---
cgi/pkgreport.cgi | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi
index 3fb8600c..ca406fb6 100755
--- a/cgi/pkgreport.cgi
+++ b/cgi/pkgreport.cgi
@@ -155,14 +155,19 @@ if (defined $pkg || defined $src) {
if ($pkg) {
print "You may want to refer to the following packages that are part of the same source:
\n";
} else {
- print "You may want to refer to the following packages' individual bug pages:
\n";
+ print "You may want to refer to the following individual bug pages:
\n";
}
print join( ", ", map( "$_", @pkgs ) );
- print "\n";
+ print ".\n";
}
if ($pkg) {
my $stupidperl = ${debbugs::gPackagePages};
- printf "
You might like to refer to the %s package page, or to the source package %s's bug page.
\n", urlsanit("http://${debbugs::gPackagePages}/$pkg"), htmlsanit("$pkg"), urlsanit(srcurl($pkg)), $pkgsrc{$pkg}; + printf "You might like to refer to the %s package page", urlsanit("http://${debbugs::gPackagePages}/$pkg"), htmlsanit("$pkg"); + if ($src) { + printf ", or to the source package %s's bug page.
\n", srcurl($pkg), htmlsanit($pkgsrc{$pkg}); + } else { + printf ".\n"; + } } } elsif (defined $maint || defined $maintenc) { print "Note that maintainers may use different Maintainer fields for\n"; -- 2.39.5