Re: Bug#397589: texlive-latex-extra does not contain beamer
Hi Frank!
(taking out the rest, this is not bug relevant)
On Mit, 08 Nov 2006, Frank Küster wrote:
> You have now used
>
> next if is_blacklisted($p,$pkg);
>
> but the second argument is supposed to be a collection, and I assume
> $pkg contains a Debian package name. I have checked that it works as
> intended with "" instead. Are you sure?
No, the second argument contains a Debian binary package, as it is
matched against the stringsin
blacklist;tpm;foobar;in-which-bin-package
The code of is_blacklisted:
# blacklist check
# either there is no blacklist entry, then it is ok
# if there is a blacklist entry and it is *, blacklist it
# if it is not *, and the $coll is not "", then match it
if (defined($PackageBlackList{$tpm}) &&
(($PackageBlackList{$tpm} eq "*") ||
(($coll ne "") && ($PackageBlackList{$tpm} =~ m/$coll/)))) {
return(1);
} else {
return(0);
}
Ok, it is wrongly named the local variable, should be something else
then $coll, but it is nothing else than a matching string.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Università di Siena
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
LISTOWEL (n.)
The small mat on the bar designed to be more absorbent than the bar,
but not as absorbent as your elbows.
--- Douglas Adams, The Meaning of Liff
Reply to: