summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLMedia.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLMedia.pm b/Master/tlpkg/TeXLive/TLMedia.pm
index 449534e23c6..dfa2c2669bd 100644
--- a/Master/tlpkg/TeXLive/TLMedia.pm
+++ b/Master/tlpkg/TeXLive/TLMedia.pm
@@ -209,10 +209,8 @@ sub install_package {
# we only want to try to install a .ARCH package if it actually contains
# files
my $foo = $1;
- my $hashref = $totlpdb->get_package("$foo");
- my %binfiles = %{$hashref};
foreach my $a ($totlpdb->available_architectures) {
- if (defined($binfiles{$a}) &&
+ if (defined($fromtlpdb->get_package("$foo.$a")) &&
!defined($totlpdb->get_package("$foo.$a"))) {
merge_into(\%ret,
$self->install_package("$foo.$a", $totlpdb, $nodepends, $fallbackmedia, 0));