summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 4b41110bbdb..902f8e7586f 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -79,6 +79,7 @@ C<TeXLive::TLPDB> -- A database of TeX Live Packages
$tlpdb->is_virtual;
$tlpdb->virtual_add_tlpdb($tlpdb, $tag);
$tlpdb->virtual_remove_tlpdb($tag);
+ $tlpdb->virtual_get_tags();
$tlpdb->virtual_get_tlpdb($tag);
$tlpdb->virtual_get_package($pkg, $tag);
$tlpdb->candidates($pkg);
@@ -2561,6 +2562,11 @@ sub make_virtual {
return 1;
}
+sub virtual_get_tags {
+ my $self = shift;
+ return keys %{$self->{'tlpdbs'}};
+}
+
sub virtual_get_tlpdb {
my ($self, $tag) = @_;
if (!$self->is_virtual) {