diff options
Diffstat (limited to 'Master/tlpkg/bin/tlpkginfo')
-rwxr-xr-x | Master/tlpkg/bin/tlpkginfo | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo index 1243c6ed7d4..4dd5e86671a 100755 --- a/Master/tlpkg/bin/tlpkginfo +++ b/Master/tlpkg/bin/tlpkginfo @@ -179,21 +179,23 @@ sub find_ctan_dir { if $me =~ /^hyphen-/ && ! $ctan_dir; } - # For cm, we just want the mf subdir of fonts/cm. if ($me eq "cm") { + # For cm, we just want the mf subdir of fonts/cm. $ctan_dir .= "/mf"; - } - # For mathspic, we cannot use the catalogue directory: - # we want to ignore the dos/ subdir and just go with the perl/. - if ($me eq "mathspic") { + } elsif ($pkgname eq "cs") { + # For cs, we need to unpack from multiple tarballs, + # so copy the entire cstex directory. + $ctan_dir = "$CTAN/macros/cstex/base"; + + } elsif ($me eq "mathspic") { + # For mathspic, we cannot use the catalogue directory: + # we want to ignore the dos/ subdir and just go with the perl/. $ctan_dir .= "/perl"; - } - # For cs, we need to unpack from multiple tarballs, - # so copy the entire cstex directory. - if ($pkgname eq "cs") { - $ctan_dir = "$CTAN/macros/cstex/base"; + } elsif ($me eq "sauter") { + # and for sauter, just base. + $ctan_dir .= "/base"; } # prepend ctan root if not an absolute dir (this happens when we make |