Commit d234acb2 authored by Josip Rodin's avatar Josip Rodin

added some Perl scripting to display it nicer, and not depend on being on...

added some Perl scripting to display it nicer, and not depend on being on klecker; added missing footer and otherpages includes

CVS version numbers

english/Bugs/pseudo-packages.wml: 1.1 -> 1.2
parent e6ce5cf3
......@@ -10,6 +10,25 @@ details of how to specify a <code>Package:</code> line.
<hrline>
<pre>
#include "/org/www.debian.org/cron/scripts_daily/pseudo-packages.description"
</pre>
<:
my $file = "pseudo-packages.description";
my $host = `hostname -f`; chop $host;
$file = "/org/www.debian.org/cron/scripts_daily/$file" if ($host eq "klecker.debian.org");
open I, "$file" or die "Can't find $file file at $host: $!\n";
while (<I>) {
if (/^(\S+)\s+(.*)$/) {
$pseudos{$1} = $2;
}
}
close I;
%pseudos || die "%pseudos is not set -- empty pseudo-packages.description file?\n";
foreach $a (sort keys %pseudos) {
print "<p><code>$a</code> &mdash; $pseudos{$a}\n";
}
:>
<hrline>
#use "otherpages.inc"
#use "footer.inc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment