Commit de9727ab authored by Peter Karlsson's avatar Peter Karlsson

Sync: Made the p-p.d reading loop an one-liner :) skipped displaying pseudo

packages dpkg-iwj and spam because one shouldn't submit bugs against them
(although some people have been doing it for spam, its description mentions
only reassign) (1.3)

CVS version numbers

swedish/Bugs/pseudo-packages.wml: 1.1 -> 1.2
parent 24622ce2
#use wml::debian::template title="Debians felrapporteringssystem" NOHEADER="true"
#use wml::debian::translation-check translation="1.2"
#use wml::debian::translation-check translation="1.3"
<H1>Pseudopaket i Debians felrapporteringssystem</H1>
......@@ -18,15 +18,13 @@ 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;
}
}
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";
if ($a ne "dpkg-iwj" && $a ne "spam") {
print "<p><code>$a</code> &mdash; $pseudos{$a}\n";
}
}
:>
......
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