summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpkginfo
diff options
context:
space:
mode:
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 1e51710cec1..a66bc52d8fc 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -138,7 +138,7 @@ sub find_ctan_dir
$ctan_dir = "language/hyphenation"
if $me =~ /^hyphen-/ && ! $ctan_dir;
}
-
+
# prepend ctan root if not an absolute dir (this happens when we make
# a temp dir).
$ctan_dir = "$CTAN/$ctan_dir" if $ctan_dir =~ m,^[^/],;
@@ -280,6 +280,12 @@ sub copy_to_tmpdir
system ("cp -p '$src' '$pkgdir/'") if $src;
+ # special cases
+ if ($pkgname eq "cc-pl") {
+ # there's no real ctan dir for this package, just a zip
+ system ("cd $pkgdir && unzip -q cc-pl.zip && rm cc-pl.zip");
+ }
+
return $pkgdir;
}