diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-25 15:19:34 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-25 15:19:34 +0000 |
commit | 79267a695344f6daef038478ee552fa6cbeb62c3 (patch) | |
tree | 7b9c8ca0a3746919103d36ab790f34025a9e201f | |
parent | 038b125b57620c4bc3d908e8e22035040d2583cf (diff) |
add an exception for cc-pl
git-svn-id: svn://tug.org/texlive/trunk@9043 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/tlpkg/bin/tlpkginfo | 8 |
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; } |