summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index c532a543b08..1bfe5709ad8 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -180,7 +180,9 @@ sub catalogue_find_ctan_path
# except when it's erroneous.
my $tds_path = "$CTAN/install/$ctan_loc.tds.zip";
if (-s $tds_path && $pkgname !~ /^(lcyw)$/) {
- return &copy_to_tmpdir ($pkgname, $tds_path);
+ $ctan_loc = &copy_to_tmpdir ($pkgname, $tds_path);
+ system ("unzip -q -a $ctan_loc/$pkgname.tds.zip -d $ctan_loc");
+ return $ctan_loc;
}
# if the Catalogue lists the path as a single file, there are two