summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm
index ebdc2e22873..974e2325655 100644
--- a/Master/tlpkg/TeXLive/TLPOBJ.pm
+++ b/Master/tlpkg/TeXLive/TLPOBJ.pm
@@ -757,6 +757,17 @@ sub update_from_catalogue {
if (defined($entry->ctan) && $entry->ctan ne "") {
$self->cataloguedata->{'ctan'} = $entry->ctan;
}
+ # TODO TODO TODO
+ # we should rewrite the also fields to TeX Live package names ...
+ # for now these are CTAN package names!
+ # warning, we expect that cataloguedata entries are strings,
+ # so stringify these lists
+ if (@{$entry->also}) {
+ $self->cataloguedata->{'also'} = "@{$entry->also}";
+ }
+ if (@{$entry->topics}) {
+ $self->cataloguedata->{'topics'} = "@{$entry->topics}";
+ }
#if (defined($entry->texlive)) {
# $self->cataloguedata->{'texlive'} = $entry->texlive;
#}