summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpkginfo
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-03 22:17:44 +0000
committerKarl Berry <karl@freefriends.org>2015-04-03 22:17:44 +0000
commit985392e08babce077d50d317f983fb8552ac9d2e (patch)
tree2e0ce4fad6dc57066dc447a56b5871748f4f5acd /Master/tlpkg/bin/tlpkginfo
parent6df9888bcbc7b386695b916acb8d0b329ea36ff2 (diff)
cfr-initials (3apr15)
git-svn-id: svn://tug.org/texlive/trunk@36711 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tlpkginfo')
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index b2e93fbcf70..387c226162d 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -342,7 +342,7 @@ sub prepare {
# now we have a tds, so unzip it in a tmpdir and be sure it's readable.
my $tmpdir = &copy_to_tmpdir ($pkg);
my $unpack = ($tds_path =~ /zip$/)
- ? "unzip -q $tds_path -d $tmpdir"
+ ? "unzip -q -o $tds_path -d $tmpdir"
: "tar -C $tmpdir -xf $tds_path";
system ($unpack) == 0 || die "unpack failed: $!\n($unpack)";
system ("chmod -R a+rX $tmpdir");
@@ -398,6 +398,11 @@ sub copy_to_tmpdir {
system ("cd $pkgdir && unzip -q $zip && rm $zip");
}
+ if ($pkgname eq "latex") {
+ my $latex_doc_zip = "$CTAN/install/macros/latex/latex-doc.tds.zip";
+ system ("cd $pkgdir && unzip -q -o $latex_doc_zip </dev/null");
+ }
+
# the pl package in TeX Live is a combination of the pl-mf and
# plpsfont packages on CTAN, per Thomas Esser and GUST as of many
# years ago. So combine them. ctan2tds will flatten everything out,
@@ -406,5 +411,6 @@ sub copy_to_tmpdir {
my $plpsfont_zip = "$CTAN/language/polish/plpsfont.zip";
system ("cd $pkgdir && unzip -q $plpsfont_zip");
}
+
return $pkgdir;
}